--- a/includes/common.php Tue Jan 01 22:30:53 2008 -0500
+++ b/includes/common.php Tue Jan 01 22:50:49 2008 -0500
@@ -45,10 +45,14 @@
* @return float
*/
-function microtime_float()
+// First check to see if something already declared this function.... it happens often.
+if ( !function_exists('microtime_float') )
{
- list($usec, $sec) = explode(" ", microtime());
- return ((float)$usec + (float)$sec);
+ function microtime_float()
+ {
+ list($usec, $sec) = explode(" ", microtime());
+ return ((float)$usec + (float)$sec);
+ }
}
// Determine starting time
--- a/install.php Tue Jan 01 22:30:53 2008 -0500
+++ b/install.php Tue Jan 01 22:50:49 2008 -0500
@@ -22,6 +22,12 @@
exit;
}
+function microtime_float()
+{
+ list($usec, $sec) = explode(" ", microtime());
+ return ((float)$usec + (float)$sec);
+}
+
define('IN_ENANO_INSTALL', 'true');
define('ENANO_VERSION', '1.0.3');
@@ -64,6 +70,7 @@
require('includes/constants.php');
require('includes/rijndael.php');
require('includes/functions.php');
+require('includes/dbal.php');
strip_magic_quotes_gpc();
$neutral_color = 'C';