4 Commits
1.0.7 ... main

Author SHA1 Message Date
77cef522e9 composer fix 2025-02-04 07:16:29 -05:00
9d339b961e composer and autoloading changes for renaming 2025-02-03 12:39:23 -05:00
bfe2aee6ee rename p2 2025-02-03 12:30:25 -05:00
b6de9d159b rename p1 2025-02-03 12:29:20 -05:00
8 changed files with 12 additions and 11 deletions

View File

@ -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,14 +30,15 @@ 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';
require_once 'canary.php';
define( 'CANARY_AUTOLOADED', true );

View File

@ -28,14 +28,14 @@
},
"autoload":
{
"psr-4":
{
"TheTempusProject\\Canary\\Classes\\": "Classes"
},
"classmap":
[
"classes"
],
"files":
[
"Config/constants.php",
"Bin/Canary.php"
"config/constants.php",
"bin/canary.php"
]
}
}