diff -r d5dff8148dfe -r c15c1d2bdeb8 install.php --- a/install.php Mon Nov 05 17:07:22 2007 -0500 +++ b/install.php Mon Nov 05 17:11:37 2007 -0500 @@ -1161,6 +1161,16 @@ fwrite($cf_handle, $config_file); fclose($cf_handle); + echo 'done!
Renaming config.new.php and .htaccess.new...'; + if ( !@rename('./config.new.php', './config.php') ) + err('failed!

Please rename config.new.php manually to config.php. If you selected Tiny URLs, please also rename .htaccess.new to .htaccess.'); + + if ( $_POST['urlscheme'] == 'tiny' ) + { + if ( !@rename('./.htaccess.new', './.htaccess') ) + err('failed!

Please rename .htaccess.new manually to .htaccess.'); + } + echo 'done!
Starting the Enano API...'; $template_bak = $template; @@ -1205,16 +1215,6 @@ PageUtils::flushlogs('Main_Page', 'Article'); - echo 'done!
Renaming config.new.php and .htaccess.new...'; - if ( !@rename('./config.new.php', './config.php') ) - err('failed!

Please rename config.new.php manually to config.php. If you selected Tiny URLs, please also rename .htaccess.new to .htaccess.'); - - if ( $_POST['urlscheme'] == 'tiny' ) - { - if ( !@rename('./.htaccess.new', './.htaccess') ) - err('failed!

Please rename .htaccess.new manually to .htaccess.'); - } - echo 'done!

Installation of Enano is complete.

Review any warnings above, and then click here to finish the installation.'; // echo '';