summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-19 08:59:50 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-19 08:59:50 +0000
commit31d6f18d56a694a258bad85301fd8b0648bf75ab (patch)
tree35d235a9edfdb6729560ac36b186c807e22b6b3d
parent7b4502ac6b7932e4e21939812e94816900dc10d4 (diff)
implement already_installed()
-rw-r--r--installer/installer.php4
1 files changed, 4 insertions, 0 deletions
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();