Whoops - I forgot about the tests
This commit is contained in:
parent
7b4e57df72
commit
9f98056203
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ $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($classMapPath );
|
||||
$loader->addPrefix('AntCMS\\', $srcdir . DIRECTORY_SEPARATOR . 'AntCMS');
|
||||
$loader = new AntCMS\AntLoader(['path' => $classMapPath]);
|
||||
$loader->addNamespace('AntCMS\\', $srcdir . DIRECTORY_SEPARATOR . 'AntCMS');
|
||||
$loader->checkClassMap();
|
||||
$loader->register();
|
||||
|
|
Loading…
Add table
Reference in a new issue