summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-06-12 12:25:31 +0200
committerAndrey Andreev <narf@bofh.bg>2012-06-12 12:25:31 +0200
commitcce918033a99186cd76019d022571a8d9321d899 (patch)
treecce0ad35a918cc7e8cd6c9d54974f16810751455 /index.php
parent806ca600d3669343ee7ae90a9b5d65be9dfdbefe (diff)
Fix APPPATH
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);
/*
* --------------------------------------------------------------------