Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
77cef522e9 | |||
9d339b961e | |||
bfe2aee6ee | |||
b6de9d159b |
@ -18,7 +18,7 @@ if ( !defined( 'CANARY_ROOT_DIRECTORY' ) ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( ! defined('CANARY_CONFIG_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' ) ) {
|
if ( ! defined('CANARY_CONSTANTS_LOADED' ) ) {
|
||||||
@ -30,14 +30,15 @@ if ( class_exists( 'TheTempusProject\Hermes\Classes\Autoloader' ) ) {
|
|||||||
$autoloader->setRootFolder( CANARY_ROOT_DIRECTORY );
|
$autoloader->setRootFolder( CANARY_ROOT_DIRECTORY );
|
||||||
$autoloader->addNamespace(
|
$autoloader->addNamespace(
|
||||||
'TheTempusProject\Canary\Classes',
|
'TheTempusProject\Canary\Classes',
|
||||||
'Classes'
|
'classes'
|
||||||
);
|
);
|
||||||
$autoloader->addNamespace(
|
$autoloader->addNamespace(
|
||||||
'TheTempusProject\Canary',
|
'TheTempusProject\Canary',
|
||||||
'Bin'
|
'bin'
|
||||||
);
|
);
|
||||||
$Autoloader->register();
|
$Autoloader->register();
|
||||||
define( 'CANARY_AUTOLOADED', true );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
require_once 'Canary.php';
|
require_once 'canary.php';
|
||||||
|
|
||||||
|
define( 'CANARY_AUTOLOADED', true );
|
@ -28,14 +28,14 @@
|
|||||||
},
|
},
|
||||||
"autoload":
|
"autoload":
|
||||||
{
|
{
|
||||||
"psr-4":
|
"classmap":
|
||||||
{
|
[
|
||||||
"TheTempusProject\\Canary\\Classes\\": "Classes"
|
"classes"
|
||||||
},
|
],
|
||||||
"files":
|
"files":
|
||||||
[
|
[
|
||||||
"Config/constants.php",
|
"config/constants.php",
|
||||||
"Bin/Canary.php"
|
"bin/canary.php"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user