From ebd811415a29143db44cd6d32c5f2f0769dc8fc7 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 19 Jan 2009 09:19:07 +0000 Subject: Stub of the web based installer. --- installer/installer.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'installer/installer.php') 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"); } -- cgit v1.2.3