install/index.php
changeset 938 5d9060b4253f
parent 804 4891baa203da
child 1081 745200a9cc2a
equal deleted inserted replaced
937:b174cdb75bec 938:5d9060b4253f
    30 
    30 
    31 if ( defined('ENANO_INSTALLED') )
    31 if ( defined('ENANO_INSTALLED') )
    32 {
    32 {
    33   // Is Enano installed? If so, load the config and check version info
    33   // Is Enano installed? If so, load the config and check version info
    34   define('IN_ENANO_UPGRADE', 'true');
    34   define('IN_ENANO_UPGRADE', 'true');
       
    35   define('ENANO_EXIT_AFTER_CONFIG', 1);
    35   // common.php above calls chdir() to the ENANO_ROOT, so this loads the full Enano API.
    36   // common.php above calls chdir() to the ENANO_ROOT, so this loads the full Enano API.
    36   require('includes/common.php');
    37   require('includes/common.php');
    37 }
    38 }
    38 
    39 
    39 // are we in PHP5?
    40 // are we in PHP5?