diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 */ |