Skip to content

Commit

Permalink
Remove hard coded paths
Browse files Browse the repository at this point in the history
  • Loading branch information
sayakb committed Dec 2, 2013
1 parent f12791a commit 4f04732
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions bootstrap/compiled.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static function getDirectories()
use ReflectionParameter;
class BindingResolutionException extends \Exception
{

}
class Container implements ArrayAccess
{
Expand Down Expand Up @@ -380,7 +380,7 @@ public function bindInstallPaths(array $paths)
}
public static function getBootstrapFile()
{
return '/media/sayakb/storage/Apache/sticky-notes-src/vendor/laravel/framework/src/Illuminate/Foundation' . '/start.php';
return __DIR__.'/vendor/laravel/framework/src/Illuminate/Foundation' . '/start.php';
}
public function startExceptionHandling()
{
Expand Down Expand Up @@ -1626,7 +1626,7 @@ private function setPhpDefaultLocale($locale)
\Locale::setDefault($locale);
}
} catch (\Exception $e) {

}
}
private function getUrlencodedPrefix($string, $prefix)
Expand Down Expand Up @@ -2685,7 +2685,7 @@ public function getLastUsed()
}
public function clear()
{

}
public function getName()
{
Expand All @@ -2707,12 +2707,12 @@ private function stampCreated($lifetime = null)
if (version_compare(phpversion(), '5.4.0', '>=')) {
class NativeSessionHandler extends \SessionHandler
{

}
} else {
class NativeSessionHandler
{

}
}
namespace Symfony\Component\HttpFoundation\Session\Storage\Proxy;
Expand Down Expand Up @@ -3176,7 +3176,7 @@ public function __construct($app)
}
public function boot()
{

}
public abstract function register();
public function package($package, $namespace = null, $path = null)
Expand Down Expand Up @@ -3690,17 +3690,17 @@ public function handle($level, $message, $file = 'unknown', $line = 0, $context
}
if ($this->displayErrors && error_reporting() & $level && $this->level & $level) {
if (!class_exists('Symfony\\Component\\Debug\\Exception\\ContextErrorException')) {
require '/media/sayakb/storage/Apache/sticky-notes-src/vendor/symfony/debug/Symfony/Component/Debug' . '/Exception/ContextErrorException.php';
require __DIR__.'/vendor/symfony/debug/Symfony/Component/Debug' . '/Exception/ContextErrorException.php';
}
$exception = new ContextErrorException(sprintf('%s: %s in %s line %d', isset($this->levels[$level]) ? $this->levels[$level] : $level, $message, $file, $line), 0, $level, $file, $line, $context);
$exceptionHandler = set_exception_handler(function () {

});
restore_exception_handler();
if (is_array($exceptionHandler) && $exceptionHandler[0] instanceof ExceptionHandler) {
$exceptionHandler[0]->handle($exception);
if (!class_exists('Symfony\\Component\\Debug\\Exception\\DummyException')) {
require '/media/sayakb/storage/Apache/sticky-notes-src/vendor/symfony/debug/Symfony/Component/Debug' . '/Exception/DummyException.php';
require __DIR__.'/vendor/symfony/debug/Symfony/Component/Debug' . '/Exception/DummyException.php';
}
set_exception_handler(function (\Exception $e) use($exceptionHandler) {
if (!$e instanceof DummyException) {
Expand Down Expand Up @@ -3730,7 +3730,7 @@ public function handleFatal()
return;
}
$exceptionHandler = set_exception_handler(function () {

});
restore_exception_handler();
if (is_array($exceptionHandler) && $exceptionHandler[0] instanceof ExceptionHandler) {
Expand All @@ -3746,7 +3746,7 @@ public function handleFatal()
use Symfony\Component\Debug\ErrorHandler as DebugErrorHandler;
class ErrorHandler extends DebugErrorHandler
{

}
namespace Illuminate\Config;

Expand Down Expand Up @@ -4045,7 +4045,7 @@ public function cascadePackage($environment, $package, $group, $items);
use Symfony\Component\Finder\Finder;
class FileNotFoundException extends \Exception
{

}
class Filesystem
{
Expand Down Expand Up @@ -6327,7 +6327,7 @@ public function fromDateTime($value)
{
$format = $this->getDateFormat();
if ($value instanceof DateTime) {

} elseif (is_numeric($value)) {
$value = Carbon::createFromTimestamp($value);
} elseif (preg_match('/^(\\d{4})-(\\d{2})-(\\d{2})$/', $value)) {
Expand Down Expand Up @@ -7013,7 +7013,7 @@ public function getQueuedCookies()

class DecryptException extends \RuntimeException
{

}
class Encrypter
{
Expand Down Expand Up @@ -7465,7 +7465,7 @@ public function handleBatch(array $records)
}
public function close()
{

}
public function pushProcessor($callback)
{
Expand Down Expand Up @@ -7517,7 +7517,7 @@ public function __destruct()
try {
$this->close();
} catch (\Exception $e) {

}
}
protected function getDefaultFormatter()
Expand Down Expand Up @@ -10075,7 +10075,7 @@ class Cookie
protected $httpOnly;
public function __construct($name, $value = null, $expire = 0, $path = '/', $domain = null, $secure = false, $httpOnly = true)
{
if (preg_match('/[=,;
if (preg_match('/[=,;
]/', $name)) {
throw new \InvalidArgumentException(sprintf('The cookie name "%s" contains invalid characters.', $name));
}
Expand Down Expand Up @@ -10352,7 +10352,7 @@ public function handle()
return Handler::DONE;
}
if (!($resources = $this->getResourcesPath())) {
$resources = '/media/sayakb/storage/Apache/sticky-notes-src/vendor/filp/whoops/src/Whoops/Handler' . '/../Resources';
$resources = __DIR__.'/vendor/filp/whoops/src/Whoops/Handler' . '/../Resources';
}
$templateFile = "{$resources}/pretty-template.php";
$cssFile = "{$resources}/pretty-page.css";
Expand Down

0 comments on commit 4f04732

Please sign in to comment.