diff -r 299a90e28abc -r 87e08a6e4fec install/index.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/install/index.php Wed Jan 16 13:55:49 2008 -0500 @@ -0,0 +1,129 @@ +__construct('Enano installation', true); +} +$ui->add_stage('Welcome', true); +$ui->add_stage('Installation', true); +$ui->add_stage('Upgrade', true); +$ui->add_stage('Readme', true); + +$ui->show_header(); + +if ( defined('ENANO_INSTALLED') ) +{ + // Is Enano installed? If so, load the config and check version info + define('IN_ENANO_UPGRADE', 'true'); + // common.php above calls chdir() to the ENANO_ROOT, so this loads the full Enano API. + require('includes/common.php'); +} + +?> + +
+ +
+ Enano hasn't been installed yet!
+ You'll need to install the Enano database before you can use your site. To get started, click the Install button below. +
+ +
+ A configuration file (config.php) exists but doesn't set the ENANO_INSTALLED constant.
+

Didn't expect to see this message? + It's possible that your configuration file has become corrupted and no longer sets information that Enano needs to connect + to the database. You should have a look at your config.php by downloading it with FTP or viewing it over SSH. + If the file appears to have been tampered with, please contact the Enano team + for support immediately.

+

Most importantly, if you suspect a security breach, you should contact the Enano team + via e-mail. If you have the capability to use PGP encryption, you should do + so; our public key is available here.

+
+ +
+ + + + + + +
+ + Enano CMS + + + +
+ +show_footer(); + +?>