phpBB

Code Changes

File: phpbb/files/filespec.php

  Unmodified   Added   Modified   Removed
Line 408Line 408
			return false;
}


			return false;
}


		$chmod = ($chmod === false) ? CHMOD_READ | CHMOD_WRITE : $chmod;

		$chmod = ($chmod === false) ? \phpbb\filesystem\filesystem_interface::CHMOD_READ | \phpbb\filesystem\filesystem_interface::CHMOD_WRITE : $chmod;


// We need to trust the admin in specifying valid upload directories and an attacker not being able to overwrite it...
$this->destination_path = $this->phpbb_root_path . $destination;


// We need to trust the admin in specifying valid upload directories and an attacker not being able to overwrite it...
$this->destination_path = $this->phpbb_root_path . $destination;