Update Include.php
This commit is contained in:
parent
ac938678d7
commit
4143a75944
1 changed files with 1 additions and 7 deletions
|
@ -2,10 +2,4 @@
|
|||
$basedir = dirname(__DIR__, 2);
|
||||
$srcdir = $basedir . DIRECTORY_SEPARATOR . 'src';
|
||||
|
||||
include_once $srcdir . DIRECTORY_SEPARATOR . 'Constants.php';
|
||||
|
||||
$classMapPath = $srcdir . DIRECTORY_SEPARATOR . 'Cache' . DIRECTORY_SEPARATOR . 'classMap.php';
|
||||
$loader = new AntCMS\AntLoader(['path' => $classMapPath]);
|
||||
$loader->addNamespace('AntCMS\\', $srcdir . DIRECTORY_SEPARATOR . 'AntCMS');
|
||||
$loader->checkClassMap();
|
||||
$loader->register();
|
||||
include_once $srcdir . DIRECTORY_SEPARATOR . 'Bootstrap.php';
|
||||
|
|
Loading…
Reference in a new issue