install/install.php
changeset 850 ccedb36dd929
parent 801 eb8b23f11744
child 876 aed15c337b72
equal deleted inserted replaced
849:0617ae60cb89 850:ccedb36dd929
    16  * Thanks to Stephan for helping out with l10n in the installer (his work is in includes/stages/*.php).
    16  * Thanks to Stephan for helping out with l10n in the installer (his work is in includes/stages/*.php).
    17  */
    17  */
    18 
    18 
    19 define('IN_ENANO', 1);
    19 define('IN_ENANO', 1);
    20 // DEFINE THIS BEFORE RELEASE!
    20 // DEFINE THIS BEFORE RELEASE!
    21 define('ENANO_DANGEROUS', 1);
    21 $dangerous = true;
       
    22 if ( !empty($_GET['do']) )
       
    23   if ( $_GET['do'] === 'lang_js' )
       
    24     $dangerous = false;
       
    25 if ( $dangerous )
       
    26   define('ENANO_DANGEROUS', 1);
    22 
    27 
    23 require_once('includes/common.php');
    28 require_once('includes/common.php');
    24 @ini_set('display_errors', 'on');
    29 @ini_set('display_errors', 'on');
    25 
    30 
    26 $stages = array('language', 'license', 'sysreqs', 'database', 'website', 'login', 'confirm', 'install', 'finish');
    31 $stages = array('language', 'license', 'sysreqs', 'database', 'website', 'login', 'confirm', 'install', 'finish');