diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-01-19 09:19:07 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-01-19 09:19:07 +0000 |
commit | ebd811415a29143db44cd6d32c5f2f0769dc8fc7 (patch) | |
tree | d25d1bf7f2c05865e87bb0d50b49346eda7115a6 /installer/installer.php | |
parent | 31d6f18d56a694a258bad85301fd8b0648bf75ab (diff) |
Stub of the web based installer.
Diffstat (limited to 'installer/installer.php')
-rw-r--r-- | installer/installer.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/installer/installer.php b/installer/installer.php index d623103b..9279613b 100644 --- a/installer/installer.php +++ b/installer/installer.php @@ -43,6 +43,14 @@ class installer { } } + static function web() { + if (self::already_installed()) { + print self::_render( + "install.html.php", array("content" => "Gallery 3 is already installed.")); + return; + } + } + static function already_installed() { return file_exists(VARPATH . "database.php"); } |