install.php
changeset 129 0b5244001799
parent 98 6457a9b983c6
child 140 40f7fa5fd061
equal deleted inserted replaced
128:01955bf53f96 129:0b5244001799
    21   exit;
    21   exit;
    22 }
    22 }
    23 
    23 
    24 define('IN_ENANO_INSTALL', 'true');
    24 define('IN_ENANO_INSTALL', 'true');
    25 
    25 
    26 define('ENANO_VERSION', '1.0.1');
    26 define('ENANO_VERSION', '1.0.1.1');
    27 // In beta versions, define ENANO_BETA_VERSION here
    27 // In beta versions, define ENANO_BETA_VERSION here
    28 
    28 
    29 if(!defined('scriptPath')) {
    29 if(!defined('scriptPath')) {
    30   $sp = dirname($_SERVER['REQUEST_URI']);
    30   $sp = dirname($_SERVER['REQUEST_URI']);
    31   if($sp == '/' || $sp == '\\') $sp = '';
    31   if($sp == '/' || $sp == '\\') $sp = '';
   313   case 'welcome':
   313   case 'welcome':
   314     ?>
   314     ?>
   315     <div style="text-align: center; margin-top: 10px;">
   315     <div style="text-align: center; margin-top: 10px;">
   316       <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-blue.png" style="display: block; margin: 0 auto; padding-left: 100px;" />
   316       <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-blue.png" style="display: block; margin: 0 auto; padding-left: 100px;" />
   317       <h2>Welcome to Enano</h2>
   317       <h2>Welcome to Enano</h2>
   318       <h3>version 1.0.1 &ndash; stable<br />
   318       <h3>version 1.0.1.1 &ndash; stable<br />
   319       <span style="font-weight: normal;">also affectionately known as "loch ness" <tt>:)</tt></span></h3>
   319       <span style="font-weight: normal;">also affectionately known as "loch ness" <tt>:)</tt></span></h3>
   320       <?php
   320       <?php
   321       if ( file_exists('./_nightly.php') )
   321       if ( file_exists('./_nightly.php') )
   322       {
   322       {
   323         echo '<div class="warning-box" style="text-align: left; margin: 10px 0;"><b>You are about to install a NIGHTLY BUILD of Enano.</b><br />Nightly builds are NOT upgradeable and may contain serious flaws, security problems, or extraneous debugging information. Installing this version of Enano on a production site is NOT recommended.</div>';
   323         echo '<div class="warning-box" style="text-align: left; margin: 10px 0;"><b>You are about to install a NIGHTLY BUILD of Enano.</b><br />Nightly builds are NOT upgradeable and may contain serious flaws, security problems, or extraneous debugging information. Installing this version of Enano on a production site is NOT recommended.</div>';