mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-08 18:05:17 +02:00
[ticket/15276] Fix file_info errors
PHPBB3-15276
This commit is contained in:
parent
9e018e7c12
commit
006990f1d0
@ -43,7 +43,7 @@ class file_info
|
||||
|
||||
public function get($name)
|
||||
{
|
||||
$this->fill_properties();
|
||||
$this->fill_properties($this->path);
|
||||
|
||||
if (!isset($this->properties[$name]))
|
||||
{
|
||||
@ -52,7 +52,7 @@ class file_info
|
||||
throw new not_implemented();
|
||||
}
|
||||
|
||||
$this->properties[$name] = call_user_func($this->adapter, 'file_' . $name);
|
||||
$this->properties[$name] = call_user_func([$this->adapter, 'file_' . $name], $this->path);
|
||||
}
|
||||
|
||||
return $this->properties[$name];
|
||||
|
Loading…
x
Reference in New Issue
Block a user