upgrade.php
changeset 145 6f0bbf88c325
parent 142 ca9118d9c0f2
child 151 9b4279c25d33
child 152 9b86248e8fee
equal deleted inserted replaced
144:380e55865f86 145:6f0bbf88c325
    75     '1.0RC2' => Array('1.0RC3'),
    75     '1.0RC2' => Array('1.0RC3'),
    76     '1.0RC3' => Array('1.0'),
    76     '1.0RC3' => Array('1.0'),
    77     '1.0' => Array('1.0.1'),
    77     '1.0' => Array('1.0.1'),
    78     '1.0.1' => Array('1.0.1.1')
    78     '1.0.1' => Array('1.0.1.1')
    79   );
    79   );
    80 $this_version   = '1.0.2';
    80 $this_version   = '1.0.2b1';
    81 $func_list = Array(
    81 $func_list = Array(
    82     '1.0' => Array('u_1_0_1_update_del_votes'),
    82     '1.0' => Array('u_1_0_1_update_del_votes'),
    83     '1.0b4' => Array('u_1_0_RC1_update_user_ids', 'u_1_0_RC1_add_admins_to_group', 'u_1_0_RC1_alter_files_table', 'u_1_0_RC1_destroy_session_cookie', 'u_1_0_RC1_set_contact_email', 'u_1_0_RC1_update_page_text'), // ,
    83     '1.0b4' => Array('u_1_0_RC1_update_user_ids', 'u_1_0_RC1_add_admins_to_group', 'u_1_0_RC1_alter_files_table', 'u_1_0_RC1_destroy_session_cookie', 'u_1_0_RC1_set_contact_email', 'u_1_0_RC1_update_page_text'), // ,
    84     // '1.0RC2' => Array('u_1_0_populate_userpage_comments')
    84     // '1.0RC2' => Array('u_1_0_populate_userpage_comments')
    85     '1.0RC3' => Array('u_1_0_RC3_make_users_extra')
    85     '1.0RC3' => Array('u_1_0_RC3_make_users_extra')
   155 $session = new sessionManager();
   155 $session = new sessionManager();
   156 $paths = new pathManager();
   156 $paths = new pathManager();
   157 $session->start();
   157 $session->start();
   158 
   158 
   159 $template = new template_nodb();
   159 $template = new template_nodb();
   160 $template->load_theme('oxygen', 'bleu', false);
   160 $template->load_theme('stpatty', 'shamrock', false);
   161 
   161 
   162 $modestrings = Array(
   162 $modestrings = Array(
   163               'login'      => 'Administrative login',
   163               'login'      => 'Administrative login',
   164               'welcome'    => 'Welcome',
   164               'welcome'    => 'Welcome',
   165               'setversion' => 'Select Enano version',
   165               'setversion' => 'Select Enano version',
   523     require('config.php');
   523     require('config.php');
   524     
   524     
   525     ?>
   525     ?>
   526     
   526     
   527     <div style="text-align: center; margin-top: 10px;">
   527     <div style="text-align: center; margin-top: 10px;">
   528       <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-blue.png" style="display: block; margin: 0 auto; padding-left: 134px;" />
   528       <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-green.png" style="display: block; margin: 0 auto; padding-left: 134px;" />
   529       <h2>Welcome to the Enano upgrade wizard</h2>
   529       <h2>Welcome to the Enano upgrade wizard</h2>
   530       <?php
   530       <?php
   531       if ( file_exists('./_nightly.php') )
   531       if ( file_exists('./_nightly.php') )
   532       {
   532       {
   533         echo '<div class="warning-box" style="text-align: left; margin: 10px auto; display: table; width: 60%;"><b>You are about to upgrade to a NIGHTLY BUILD of Enano.</b><br />Nightly builds CANNOT be re-upgraded to the final release. They may also contain serious flaws, security problems, or extraneous debugging information. Continuing this process on a production site is NOT recommended.</div>';
   533         echo '<div class="warning-box" style="text-align: left; margin: 10px auto; display: table; width: 60%;"><b>You are about to upgrade to a NIGHTLY BUILD of Enano.</b><br />Nightly builds CANNOT be re-upgraded to the final release. They may also contain serious flaws, security problems, or extraneous debugging information. Continuing this process on a production site is NOT recommended.</div>';