diff --git a/README.md b/README.md index a8478e5..d983da8 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,12 @@ Hermes is a small package to handle redirects, routing, and autoloading. This li ## Installation -To install simply use the composer command: +To install, simply use the composer command: `php composer.phar require thetempusproject/hermes` +`composer require thetempusproject/hermes` + ## Usage Typical usage would be through including the package via composer. @@ -45,9 +47,7 @@ if ( ! defined( 'HERMES_AUTOLOADED' ) ) { } } -if ( ! App::$isAdmin ) { - return Redirect::home(); -} +Redirect::home(); ``` diff --git a/bin/autoload.php b/bin/autoload.php index e7d0c3c..20126b5 100644 --- a/bin/autoload.php +++ b/bin/autoload.php @@ -4,7 +4,7 @@ * * Uses the Hermes autoloader if it has been defined. * - * @version 1.0.4 + * @version 1.0.5 * @author Joey Kimsey * @link https://TheTempusProject.com/libraries/Hermes * @license https://opensource.org/licenses/MIT [MIT LICENSE] diff --git a/classes/autoloader.php b/classes/autoloader.php index 217a6c4..a652f83 100644 --- a/classes/autoloader.php +++ b/classes/autoloader.php @@ -4,7 +4,7 @@ * * This should provide a simple way to add autoloading. * - * @version 1.0.4 + * @version 1.0.5 * @author Joey Kimsey * @link https://TheTempusProject.com/libraries/Hermes * @license https://opensource.org/licenses/MIT [MIT LICENSE] diff --git a/functions/redirect.php b/functions/redirect.php index 6df74c8..6dc5985 100644 --- a/functions/redirect.php +++ b/functions/redirect.php @@ -4,7 +4,7 @@ * * This class is used for header modification and page redirection. * - * @version 1.0.4 + * @version 1.0.5 * @author Joey Kimsey * @link https://TheTempusProject.com/libraries/Hermes * @license https://opensource.org/licenses/MIT [MIT LICENSE] diff --git a/functions/route.php b/functions/route.php index a968a08..707384a 100644 --- a/functions/route.php +++ b/functions/route.php @@ -4,7 +4,7 @@ * * This class is used to return file and directory locations. * - * @version 1.0.4 + * @version 1.0.5 * @author Joey Kimsey * @link https://TheTempusProject.com/libraries/Hermes * @license https://opensource.org/licenses/MIT [MIT LICENSE]