Created
June 10, 2015 14:11
-
-
Save alpharder/423375071c0b436914e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/init.php b/init.php | |
index 2772327..0472c9f 100644 | |
--- a/init.php | |
+++ b/init.php | |
@@ -21,7 +21,7 @@ use Tygh\Registry; | |
$this_dir = dirname(__FILE__); | |
$classLoader = require($this_dir . '/app/lib/vendor/autoload.php'); | |
$classLoader->add('Tygh', $this_dir . '/app'); | |
-class_alias('\Tygh\Tygh', 'Tygh', true); | |
+class_alias('\Tygh\Tygh', 'Tygh'); | |
// Prepare environment and process request vars | |
list($_REQUEST, $_SERVER, $_GET, $_POST) = Bootstrap::initEnv($_GET, $_POST, $_SERVER, $this_dir); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/install/app/Installer/App.php b/install/app/Installer/App.php | |
index f583072..4773d15 100644 | |
--- a/install/app/Installer/App.php | |
+++ b/install/app/Installer/App.php | |
@@ -109,7 +109,7 @@ class App | |
// Register autoloader | |
$classLoader = require($base_path . '/app/lib/vendor/autoload.php'); | |
$classLoader->add('Tygh', realpath($base_path . '/app')); | |
- class_alias('\Tygh\Tygh', 'Tygh', true); | |
+ class_alias('\Tygh\Tygh', 'Tygh'); | |
// Prepare environment and process request vars | |
list($_REQUEST, $_SERVER) = Bootstrap::initEnv($_GET, $_POST, $_SERVER, $base_path); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment