summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.php b/index.php
index 468be6552..2bf26537b 100755
--- a/index.php
+++ b/index.php
@@ -191,6 +191,10 @@ if (false && defined('ENVIRONMENT'))
define('APPPATH', BASEPATH.$application_folder.'/');
}
+ if (getenv("HOME") == "") {
+ putenv('HOME='.FCPATH);
+ }
+
/*
* --------------------------------------------------------------------
* LOAD THE BOOTSTRAP FILE