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:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user