summaryrefslogtreecommitdiff
path: root/core/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-23 01:29:17 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-23 01:29:17 +0000
commitddcf10dfce923fd07192e7dbc39fa34de3e22be8 (patch)
tree4d5f47c777390a37f155ef0cb9c5abfa922bf20e /core/helpers
parentf476e2169ee84922dfe48d5a5065e1eabe40713f (diff)
Allow the site admin to upload watermark images. Can't do much with them yet.
Diffstat (limited to 'core/helpers')
-rw-r--r--core/helpers/core_installer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/helpers/core_installer.php b/core/helpers/core_installer.php
index 87ec3d87..225cf330 100644
--- a/core/helpers/core_installer.php
+++ b/core/helpers/core_installer.php
@@ -114,7 +114,7 @@ class core_installer {
UNIQUE KEY(`module_id`, `name`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
- foreach (array("albums", "resizes", "thumbs", "uploads") as $dir) {
+ foreach (array("albums", "resizes", "thumbs", "uploads", "modules") as $dir) {
@mkdir(VARPATH . $dir);
}
@@ -156,5 +156,6 @@ class core_installer {
system("/bin/rm -rf " . VARPATH . "resizes");
system("/bin/rm -rf " . VARPATH . "thumbs");
system("/bin/rm -rf " . VARPATH . "uploads");
+ system("/bin/rm -rf " . VARPATH . "modules");
}
}