diff -r c94af5b5c40f -r 03850e101d7f install.php --- a/install.php Fri Dec 21 18:33:56 2007 -0500 +++ b/install.php Fri Dec 21 18:52:35 2007 -0500 @@ -64,6 +64,12 @@ return true; } +function microtime_float() +{ + list($usec, $sec) = explode(" ", microtime()); + return ((float)$usec + (float)$sec); +} + require('includes/wikiformat.php'); require('includes/constants.php'); require('includes/rijndael.php'); @@ -72,6 +78,10 @@ require('includes/lang.php'); require('includes/json.php'); +// Initialize language support +$lang = new Language('eng'); +$lang->load_file('./language/english/install.json'); + strip_magic_quotes_gpc(); // @@ -823,6 +833,7 @@ function show_license($fb = false) { + global $lang; ?>
load_file('./language/english/install.json'); - $template = new template_nodb(); $template->load_theme('stpatty', 'shamrock', false); @@ -1689,6 +1696,14 @@
+ + -

Now we need some information that will allow Enano to contact your database server. Enano uses PostgreSQL as a data storage backend, - and we need to have access to a PostgreSQL server in order to continue.

-

If you do not have access to a PostgreSQL server, and you are using your own server, you can download PostgreSQL for free from - PostgreSQL.org.

+

get('database_blurb_needdb'); ?>

+

get('database_blurb_howtomysql'); ?>

+ + ' . $lang->get('database_vm_login_info', array( 'host' => 'localhost', 'user' => 'enano', 'pass' => 'clurichaun', 'name' => 'enano_www1' )) . ' +

'; + } + ?>
@@ -2356,7 +2377,6 @@ // Are we just trying to auto-rename the config files? If so, skip everything else if ( !isset($_GET['stage']) || ( isset($_GET['stage']) && $_GET['stage'] != 'renameconfig' ) ) { - // The stages connect, decrypt, genkey, and parse are preprocessing and don't do any actual data modification. // Thus, they need to be run on each retry, e.g. never skipped. run_installer_stage('connect', $lang->get('install_stg_connect_title'), 'stg_mysql_connect', $lang->get('install_stg_connect_body'), false);