equal
deleted
inserted
replaced
20 require('includes/common.php'); |
20 require('includes/common.php'); |
21 die_friendly('Installation locked', '<p>The Enano installer has found a Enano installation in this directory. You MUST delete config.php if you want to re-install Enano.</p><p>If you wish to upgrade an older Enano installation to this version, please use the <a href="upgrade.php">upgrade script</a>.</p>'); |
21 die_friendly('Installation locked', '<p>The Enano installer has found a Enano installation in this directory. You MUST delete config.php if you want to re-install Enano.</p><p>If you wish to upgrade an older Enano installation to this version, please use the <a href="upgrade.php">upgrade script</a>.</p>'); |
22 exit; |
22 exit; |
23 } |
23 } |
24 |
24 |
|
25 function microtime_float() |
|
26 { |
|
27 list($usec, $sec) = explode(" ", microtime()); |
|
28 return ((float)$usec + (float)$sec); |
|
29 } |
|
30 |
25 define('IN_ENANO_INSTALL', 'true'); |
31 define('IN_ENANO_INSTALL', 'true'); |
26 |
32 |
27 define('ENANO_VERSION', '1.0.3'); |
33 define('ENANO_VERSION', '1.0.3'); |
28 // In beta versions, define ENANO_BETA_VERSION here |
34 // In beta versions, define ENANO_BETA_VERSION here |
29 |
35 |
62 |
68 |
63 require('includes/wikiformat.php'); |
69 require('includes/wikiformat.php'); |
64 require('includes/constants.php'); |
70 require('includes/constants.php'); |
65 require('includes/rijndael.php'); |
71 require('includes/rijndael.php'); |
66 require('includes/functions.php'); |
72 require('includes/functions.php'); |
|
73 require('includes/dbal.php'); |
67 |
74 |
68 strip_magic_quotes_gpc(); |
75 strip_magic_quotes_gpc(); |
69 $neutral_color = 'C'; |
76 $neutral_color = 'C'; |
70 |
77 |
71 // |
78 // |