summaryrefslogtreecommitdiff
path: root/installer/installer.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-10 21:10:20 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-10 21:10:20 -0700
commitb8053c9ddf3e393f76594e7dccc2f81f7116fd85 (patch)
treec3408ce73ddfcaee522672786fea780e04658c31 /installer/installer.php
parentedb33334f13139ee9a40c2849900767585cb9097 (diff)
Rename "after_installer" to "welcome_message" in the code to make it
clearer what its purpose is. Add some spacing in the theme for it so that it's less cramped.
Diffstat (limited to 'installer/installer.php')
-rw-r--r--installer/installer.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/installer.php b/installer/installer.php
index 7fed25c7..4480e35e 100644
--- a/installer/installer.php
+++ b/installer/installer.php
@@ -47,6 +47,11 @@ class installer {
}
static function unpack_var() {
+ if (!file_exists(VARPATH)) {
+ mkdir(VARPATH);
+ chmod(VARPATH, 0777);
+ }
+
include(DOCROOT . "installer/init_var.php");
return true;
}