diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-12 12:25:31 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-12 12:25:31 +0200 |
commit | cce918033a99186cd76019d022571a8d9321d899 (patch) | |
tree | cce0ad35a918cc7e8cd6c9d54974f16810751455 | |
parent | 806ca600d3669343ee7ae90a9b5d65be9dfdbefe (diff) |
Fix APPPATH
-rw-r--r-- | index.php | 4 | ||||
-rw-r--r-- | system/core/Loader.php | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -211,7 +211,7 @@ if (defined('ENVIRONMENT')) // The path to the "application" folder if (is_dir($application_folder)) { - if (($_temp = realpath($system_path)) !== FALSE) + if (($_temp = realpath($application_folder)) !== FALSE) { $application_folder = $_temp; } @@ -256,7 +256,7 @@ if (defined('ENVIRONMENT')) $view_folder = rtrim($view_folder, '/').'/'; } - define ('VIEWPATH', $view_folder); + define('VIEWPATH', $view_folder); /* * -------------------------------------------------------------------- diff --git a/system/core/Loader.php b/system/core/Loader.php index 09e948714..94739c74a 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -668,7 +668,7 @@ class CI_Loader { * @param bool * @return void */ - public function add_package_path($path, $view_cascade=TRUE) + public function add_package_path($path, $view_cascade = TRUE) { $path = rtrim($path, '/').'/'; |