mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Changing import() to require, as its a fraction faster.
This commit is contained in:
parent
afd2683602
commit
cb4dfc4ee0
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
||||||
if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') {
|
if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') {
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
App::import('Core', 'Dispatcher');
|
require LIBS . 'dispatcher.php';
|
||||||
$Dispatcher = new Dispatcher();
|
$Dispatcher = new Dispatcher();
|
||||||
$Dispatcher->dispatch(new CakeRequest($_GET['url']));
|
$Dispatcher->dispatch(new CakeRequest($_GET['url']));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue