install/install.php
changeset 353 2398420f48e7
parent 352 9d7225c0db6d
child 391 85f91037cd4f
equal deleted inserted replaced
350:dd7cbc97f681 353:2398420f48e7
    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 ?>