equal
deleted
inserted
replaced
1 <?php |
1 <?php |
2 |
2 |
3 /* |
3 /* |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
4 * Enano - an open-source CMS capable of wiki functions, Drupal-like sidebar blocks, and everything in between |
5 * Version 1.0.5 (Ferrishyn) |
5 * Version 1.0.6 (Roane) |
6 * Copyright (C) 2006-2007 Dan Fuhry |
6 * Copyright (C) 2006-2007 Dan Fuhry |
7 * install.php - handles everything related to installation and initial configuration |
7 * install.php - handles everything related to installation and initial configuration |
8 * |
8 * |
9 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
9 * This program is Free Software; you can redistribute and/or modify it under the terms of the GNU General Public License |
10 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
10 * as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. |
28 return ((float)$usec + (float)$sec); |
28 return ((float)$usec + (float)$sec); |
29 } |
29 } |
30 |
30 |
31 define('IN_ENANO_INSTALL', 'true'); |
31 define('IN_ENANO_INSTALL', 'true'); |
32 |
32 |
33 define('ENANO_VERSION', '1.0.5'); |
33 define('ENANO_VERSION', '1.0.6'); |
34 define('ENANO_RELEASE_NAME', 'Ferrishyn'); |
34 define('ENANO_RELEASE_NAME', 'Roane'); |
35 // In beta versions, define ENANO_BETA_VERSION here |
35 // In beta versions, define ENANO_BETA_VERSION here |
36 |
36 |
37 if(!defined('scriptPath')) { |
37 if(!defined('scriptPath')) { |
38 $sp = dirname($_SERVER['REQUEST_URI']); |
38 $sp = dirname($_SERVER['REQUEST_URI']); |
39 if($sp == '/' || $sp == '\\') $sp = ''; |
39 if($sp == '/' || $sp == '\\') $sp = ''; |
1147 { |
1147 { |
1148 default: |
1148 default: |
1149 case 'welcome': |
1149 case 'welcome': |
1150 ?> |
1150 ?> |
1151 <div style="text-align: center; margin-top: 10px;"> |
1151 <div style="text-align: center; margin-top: 10px;"> |
1152 <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-blue.png" style="display: block; margin: 0 auto; padding-left: 100px;" /> |
1152 <img alt="[ Enano CMS Project logo ]" src="images/enano-artwork/installer-greeting-blue.png" style="display: block; margin: 0 auto; padding-left: 114px;" /> |
1153 <h2>Welcome to Enano</h2> |
1153 <h2>Welcome to Enano</h2> |
1154 <h3>Version <?php echo ENANO_VERSION; ?> – stable<br /> |
1154 <h3>Version <?php echo ENANO_VERSION; ?> – stable<br /> |
1155 <span style="font-weight: normal;">also affectionately known as "<?php echo strtolower(ENANO_RELEASE_NAME); ?>" <tt>:)</tt></span></h3> |
1155 <span style="font-weight: normal;">also affectionately known as "<?php echo strtolower(ENANO_RELEASE_NAME); ?>" <tt>:)</tt></span></h3> |
1156 <?php |
1156 <?php |
1157 if ( file_exists('./_nightly.php') ) |
1157 if ( file_exists('./_nightly.php') ) |