summaryrefslogtreecommitdiff
path: root/core/config/upload.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-06 21:14:36 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-06 21:14:36 +0000
commitfb6e22e1457ce4d1503c739d7354d51fe3af4e94 (patch)
tree4694ea5d9df391cb5b74fc525b3d0d3386316440 /core/config/upload.php
parent64c380a60d540bd7428282fe10591e8ec19ba7fd (diff)
Implemented photo::_get_photo_add(). You need to create the var/uploads directory and make it writable by the server. The location of the temporary upload directory is specified in config/upload.php
Diffstat (limited to 'core/config/upload.php')
-rw-r--r--core/config/upload.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/config/upload.php b/core/config/upload.php
new file mode 100644
index 00000000..9885ab32
--- /dev/null
+++ b/core/config/upload.php
@@ -0,0 +1,17 @@
+<?php defined('SYSPATH') or die('No direct access allowed.');
+/**
+ * @package Core
+ *
+ * This path is relative to your index file. Absolute paths are also supported.
+ */
+$config['directory'] = VARPATH.'uploads';
+
+/**
+ * Enable or disable directory creation.
+ */
+$config['create_directories'] = FALSE;
+
+/**
+ * Remove spaces from uploaded filenames.
+ */
+$config['remove_spaces'] = TRUE; \ No newline at end of file