summaryrefslogtreecommitdiff
path: root/system/config/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/config/upload.php')
-rw-r--r--system/config/upload.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/config/upload.php b/system/config/upload.php
new file mode 100644
index 00000000..df26a2d2
--- /dev/null
+++ b/system/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'] = DOCROOT.'upload';
+
+/**
+ * Enable or disable directory creation.
+ */
+$config['create_directories'] = FALSE;
+
+/**
+ * Remove spaces from uploaded filenames.
+ */
+$config['remove_spaces'] = TRUE; \ No newline at end of file