Class cache loading disabled in app_dev.php.
This commit is contained in:
parent
2aaa620606
commit
96881be50b
|
@ -17,13 +17,14 @@ if (isset($_SERVER['HTTP_CLIENT_IP'])
|
||||||
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
|
exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
|
||||||
}
|
}
|
||||||
|
|
||||||
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
|
//$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
|
||||||
|
$loader = require_once __DIR__.'/../app/autoload.php';
|
||||||
Debug::enable();
|
Debug::enable();
|
||||||
|
|
||||||
require_once __DIR__.'/../app/AppKernel.php';
|
require_once __DIR__.'/../app/AppKernel.php';
|
||||||
|
|
||||||
$kernel = new AppKernel('dev', true);
|
$kernel = new AppKernel('dev', true);
|
||||||
$kernel->loadClassCache();
|
//$kernel->loadClassCache();
|
||||||
$request = Request::createFromGlobals();
|
$request = Request::createFromGlobals();
|
||||||
$response = $kernel->handle($request);
|
$response = $kernel->handle($request);
|
||||||
$response->send();
|
$response->send();
|
||||||
|
|
Loading…
Reference in a new issue