aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/files/filespec.php
diff options
context:
space:
mode:
authorRubén Calvo <rubencm@gmail.com>2018-07-30 13:58:52 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-05-09 18:47:50 +0200
commit688d022f421c584ea02fd554a3710b20cfd56de5 (patch)
treeb216c8673e08f41f4c8db804302997d11ce57fe0 /phpBB/phpbb/files/filespec.php
parentab0dae600335eb66a31c951e27954accac208296 (diff)
downloadforums-688d022f421c584ea02fd554a3710b20cfd56de5.tar
forums-688d022f421c584ea02fd554a3710b20cfd56de5.tar.gz
forums-688d022f421c584ea02fd554a3710b20cfd56de5.tar.bz2
forums-688d022f421c584ea02fd554a3710b20cfd56de5.tar.xz
forums-688d022f421c584ea02fd554a3710b20cfd56de5.zip
[ticket/15738] Remove code related with safe_mode
PHPBB3-15738
Diffstat (limited to 'phpBB/phpbb/files/filespec.php')
-rw-r--r--phpBB/phpbb/files/filespec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/files/filespec.php b/phpBB/phpbb/files/filespec.php
index 6847bca4cb..1e6771a3a4 100644
--- a/phpBB/phpbb/files/filespec.php
+++ b/phpBB/phpbb/files/filespec.php
@@ -420,7 +420,7 @@ class filespec
return false;
}
- $upload_mode = ($this->php_ini->getBool('open_basedir') || $this->php_ini->getBool('safe_mode')) ? 'move' : 'copy';
+ $upload_mode = ($this->php_ini->getBool('open_basedir')) ? 'move' : 'copy';
$upload_mode = ($this->local) ? 'local' : $upload_mode;
$this->destination_file = $this->destination_path . '/' . utf8_basename($this->realname);