Cleanup
Improved readme removed contributing and code of conduct as they are basically just fluff when no one knows this repo exists removed composer.lock because this repo doesn't install anything to lock update copywrite to 2025 composer update to description comments
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
*
|
||||
* @version 1.1
|
||||
* @author Joey Kimsey <Joey@thetempusproject.com>
|
||||
* @link https://TheTempusProject.com/Hermes
|
||||
* @link https://TheTempusProject.com/libraries/Hermes
|
||||
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
|
||||
*/
|
||||
|
||||
@ -14,6 +14,7 @@ namespace TheTempusProject\Hermes\Functions;
|
||||
|
||||
class Route {
|
||||
public static function testRouting() {
|
||||
// @todo - wtf
|
||||
// $url = Routes::getAddress( true ) . DEFAULT_CONTROLLER_CLASS . '/' . DEFAULT_CONTROLLER_METHOD;
|
||||
// echo '<pre>' . var_export( $url, true ) . '</pre>';
|
||||
// $host = gethostbyname( $url );
|
||||
@ -59,6 +60,7 @@ class Route {
|
||||
}
|
||||
|
||||
public static function getHost( $internal = false ) {
|
||||
// @todo - wtf
|
||||
$host = $_SERVER['HTTP_HOST'];
|
||||
if ( true === $internal ) {
|
||||
// if ( 'docker' === getenv( 'APP_ENV' ) ) {
|
||||
@ -85,6 +87,7 @@ class Route {
|
||||
$route = implode( '/', $fullArray ) . '/';
|
||||
return $route;
|
||||
}
|
||||
|
||||
/**
|
||||
* finds the physical location of the application
|
||||
*
|
||||
|
Reference in New Issue
Block a user