mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46: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') {
|
||||
return;
|
||||
} else {
|
||||
App::import('Core', 'Dispatcher');
|
||||
require LIBS . 'dispatcher.php';
|
||||
$Dispatcher = new Dispatcher();
|
||||
$Dispatcher->dispatch(new CakeRequest($_GET['url']));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue