Initial commit

This commit is contained in:
Joey Kimsey
2024-08-04 21:15:59 -04:00
parent c9d1fb983f
commit 0d469501ee
695 changed files with 70184 additions and 71 deletions

44
vendor/hermes/bin/autoload.php vendored Normal file
View File

@ -0,0 +1,44 @@
<?php
/**
* autoload.php
*
* Uses the Hermes autoloader if it has been defined.
*
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com/TempusDebugger
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/
namespace TheTempusProject\Canary;
use TheTempusProject\Hermes\Classes\Autoloader;
if ( !defined( 'HERMES_ROOT_DIRECTORY' ) ) {
define( 'HERMES_ROOT_DIRECTORY', dirname( __DIR__ ) . DIRECTORY_SEPARATOR );
}
if ( ! defined('HERMES_CONFIG_DIRECTORY' ) ) {
define('HERMES_CONFIG_DIRECTORY', HERMES_ROOT_DIRECTORY . 'config' . DIRECTORY_SEPARATOR);
}
if ( ! defined('HERMES_CONSTANTS_LOADED' ) ) {
require_once HERMES_CONFIG_DIRECTORY . 'constants.php';
}
if ( ! class_exists( 'TheTempusProject\Hermes\Classes\Autoloader' ) ) {
require_once HERMES_CLASSES_DIRECTORY . 'autoloader.php';
}
$autoloader = new Autoloader;
$autoloader->setRootFolder( HERMES_ROOT_DIRECTORY );
$autoloader->addNamespace(
'TheTempusProject\Hermes\Classes',
'classes'
);
$autoloader->addNamespace(
'TheTempusProject\Hermes\Functions',
'functions'
);
$autoloader->register();
define( 'HERMES_AUTOLOADED', true );