diff options
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/install/helper/file_updater/file_updater.php | 17 | 
1 files changed, 1 insertions, 16 deletions
diff --git a/phpBB/phpbb/install/helper/file_updater/file_updater.php b/phpBB/phpbb/install/helper/file_updater/file_updater.php index 8ebbf64253..00cb0d17bd 100644 --- a/phpBB/phpbb/install/helper/file_updater/file_updater.php +++ b/phpBB/phpbb/install/helper/file_updater/file_updater.php @@ -155,22 +155,7 @@ class file_updater implements file_updater_interface  		}  		$path = str_replace(DIRECTORY_SEPARATOR, '/', $path); -		$dirs = explode('/', $path); -		$dirs_to_create = array(); - -		do -		{ -			$path .= '../'; -			$dirs_to_create[] = array_pop($dirs); -		} -		while (!is_dir($path)); - -		foreach ($dirs_to_create as $directory) -		{ -			$path .= $directory; -			$this->filesystem->mkdir($path, 493); // 493 === 0755 -			$path .= '/'; -		} +		$this->filesystem->mkdir($path, 493); // 493 === 0755  	}  	/**  | 
