diff options
Diffstat (limited to 'index.php')
-rwxr-xr-x[-rw-r--r--] | index.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/index.php b/index.php index f4ac11a72..2bf26537b 100644..100755 --- a/index.php +++ b/index.php @@ -28,7 +28,7 @@ * By default development will show errors but testing and live will hide them. */ -if (defined('ENVIRONMENT')) +if (false && defined('ENVIRONMENT')) { switch (ENVIRONMENT) { @@ -191,6 +191,10 @@ if (defined('ENVIRONMENT')) define('APPPATH', BASEPATH.$application_folder.'/'); } + if (getenv("HOME") == "") { + putenv('HOME='.FCPATH); + } + /* * -------------------------------------------------------------------- * LOAD THE BOOTSTRAP FILE @@ -202,4 +206,4 @@ if (defined('ENVIRONMENT')) require_once BASEPATH.'core/CodeIgniter.php'; /* End of file index.php */ -/* Location: ./index.php */
\ No newline at end of file +/* Location: ./index.php */ |