install/install.php
changeset 352 9d7225c0db6d
parent 348 87e08a6e4fec
child 391 85f91037cd4f
equal deleted inserted replaced
351:8978cb3541ca 352:9d7225c0db6d
    17 define('IN_ENANO', 1);
    17 define('IN_ENANO', 1);
    18 // DEFINE THIS BEFORE RELEASE!
    18 // DEFINE THIS BEFORE RELEASE!
    19 define('ENANO_DANGEROUS', 1);
    19 define('ENANO_DANGEROUS', 1);
    20 
    20 
    21 require_once('includes/common.php');
    21 require_once('includes/common.php');
       
    22 @ini_set('display_errors', 'on');
    22 
    23 
    23 $stages = array('language', 'license', 'sysreqs', 'database', 'website', 'login', 'confirm', 'install', 'finish');
    24 $stages = array('language', 'license', 'sysreqs', 'database', 'website', 'login', 'confirm', 'install', 'finish');
    24 $stage_ids = array();
    25 $stage_ids = array();
    25 
    26 
    26 if ( isset($_POST['language']) )
    27 if ( isset($_POST['language']) )
   266     require( ENANO_ROOT . '/install/includes/stages/confirm.php' );
   267     require( ENANO_ROOT . '/install/includes/stages/confirm.php' );
   267     break;
   268     break;
   268   case 'install':
   269   case 'install':
   269     require( ENANO_ROOT . '/install/includes/stages/install.php' );
   270     require( ENANO_ROOT . '/install/includes/stages/install.php' );
   270     break;
   271     break;
       
   272   case 'finish':
       
   273     require( ENANO_ROOT . '/install/includes/stages/finish.php' );
       
   274     break;
   271 }
   275 }
   272 
   276 
   273 $ui->show_footer();
   277 $ui->show_footer();
   274 
   278 
   275 ?>
   279 ?>