1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

[ticket/13904] Turn filespec into prototype and improve init methods

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-06-01 13:27:29 +02:00
parent 0cbb713cc2
commit 92e49cd0ac
3 changed files with 20 additions and 12 deletions

View File

@@ -97,11 +97,15 @@ class filespec
$this->file_moved = false;
$this->local = (isset($upload_ary['local_mode'])) ? true : false;
return $this;
}
public function set_upload_namespace($namespace)
{
$this->upload = $namespace;
return $this;
}
/**