diff options
Diffstat (limited to 'system/config/upload.php')
| -rw-r--r-- | system/config/upload.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/system/config/upload.php b/system/config/upload.php new file mode 100644 index 0000000..833082c --- /dev/null +++ b/system/config/upload.php @@ -0,0 +1,24 @@ +<?php defined('SYSPATH') OR die('No direct access allowed.'); +/** + * Upload config + * + * @package Kohana + * @author Kohana Team + * @copyright (c) 2007-2009 Kohana Team + * @license http://kohanaphp.com/license + */ + +/** + * 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 |
