summaryrefslogtreecommitdiff
path: root/system/config/upload.php
blob: 833082c53e8e9ee68bef6ba5229a0bc6a62bd10d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;