mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 22:08:54 +00:00
[ticket/14039] Fix inclusion logic in update helper
PHPBB3-14039
This commit is contained in:
parent
2f8ef80d92
commit
de729110c8
1 changed files with 1 additions and 6 deletions
|
@ -72,16 +72,11 @@ class update_helper
|
|||
*/
|
||||
public function include_file($filename)
|
||||
{
|
||||
if (!is_file($this->phpbb_root_path . $filename))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_file($this->path_to_new_files . $filename))
|
||||
{
|
||||
include_once($this->path_to_new_files . $filename);
|
||||
}
|
||||
else
|
||||
else if (is_file($this->phpbb_root_path . $filename))
|
||||
{
|
||||
include_once($this->phpbb_root_path . $filename);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue