bugfixes + add customException from bedrock
This commit is contained in:
@ -18,7 +18,7 @@ if ( !defined( 'CANARY_ROOT_DIRECTORY' ) ) {
|
||||
}
|
||||
|
||||
if ( ! defined('CANARY_CONFIG_DIRECTORY' ) ) {
|
||||
define('CANARY_CONFIG_DIRECTORY', CANARY_ROOT_DIRECTORY . 'config' . DIRECTORY_SEPARATOR);
|
||||
define('CANARY_CONFIG_DIRECTORY', CANARY_ROOT_DIRECTORY . 'Config' . DIRECTORY_SEPARATOR);
|
||||
}
|
||||
|
||||
if ( ! defined('CANARY_CONSTANTS_LOADED' ) ) {
|
||||
@ -30,12 +30,14 @@ if ( class_exists( 'TheTempusProject\Hermes\Classes\Autoloader' ) ) {
|
||||
$autoloader->setRootFolder( CANARY_ROOT_DIRECTORY );
|
||||
$autoloader->addNamespace(
|
||||
'TheTempusProject\Canary\Classes',
|
||||
'classes'
|
||||
'Classes'
|
||||
);
|
||||
$autoloader->addNamespace(
|
||||
'TheTempusProject\Canary',
|
||||
'bin'
|
||||
'Bin'
|
||||
);
|
||||
$Autoloader->register();
|
||||
define( 'CANARY_AUTOLOADED', true );
|
||||
}
|
||||
|
||||
require_once 'Canary.php';
|
Reference in New Issue
Block a user