diff options
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 36cc0f9833..bd595b65c5 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -256,6 +256,9 @@ if (time() - $config['cache_interval'] >= $config['cache_last_gc']) } */ +// Adjust storage path's +$config['upload_dir'] = ($config['upload_dir']{0} == '/' || ($config['upload_dir']{0} != '/' && $config['upload_dir']{1} == ':')) ? $config['upload_dir'] : $phpbb_root_path . $config['upload_dir']; + // Handle email/cron queue. if (time() - $config['queue_interval'] >= $config['last_queue_run'] && !defined('IN_ADMIN')) { |