diff --git a/bin/autoload.php b/bin/autoload.php index 687f6ff..dda983b 100644 --- a/bin/autoload.php +++ b/bin/autoload.php @@ -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'; \ No newline at end of file +require_once 'canary.php'; + +define( 'CANARY_AUTOLOADED', true ); \ No newline at end of file diff --git a/composer.json b/composer.json index 3f0857a..db8088f 100644 --- a/composer.json +++ b/composer.json @@ -30,12 +30,12 @@ { "psr-4": { - "TheTempusProject\\Canary\\Classes\\": "Classes" + "TheTempusProject\\Canary\\Classes\\": "classes" }, "files": [ - "Config/constants.php", - "Bin/Canary.php" + "config/constants.php", + "bin/canary.php" ] } } \ No newline at end of file