summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.php b/index.php
index 380d1017b..ad98013ca 100644
--- a/index.php
+++ b/index.php
@@ -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);
/*
* --------------------------------------------------------------------