From 31d6f18d56a694a258bad85301fd8b0648bf75ab Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 19 Jan 2009 08:59:50 +0000 Subject: implement already_installed() --- installer/installer.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/installer/installer.php b/installer/installer.php index c5a90f6f..d623103b 100644 --- a/installer/installer.php +++ b/installer/installer.php @@ -43,6 +43,10 @@ class installer { } } + static function already_installed() { + return file_exists(VARPATH . "database.php"); + } + static function environment_check() { $errors = array(); -- cgit v1.2.3