diff options
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"); } |