From b8053c9ddf3e393f76594e7dccc2f81f7116fd85 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 10 Sep 2009 21:10:20 -0700 Subject: 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. --- installer/installer.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'installer/installer.php') 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; } -- cgit v1.2.3