mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15276] Fix code style
PHPBB3-15276
This commit is contained in:
parent
8a47fd4120
commit
8d7336e57c
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,6 @@ function send_avatar_to_browser($file, $browser)
|
||||||
// Just dont send this header
|
// Just dont send this header
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ((strpos(strtolower($browser), 'msie') !== false) && !phpbb_is_greater_ie_version($browser, 7))
|
if ((strpos(strtolower($browser), 'msie') !== false) && !phpbb_is_greater_ie_version($browser, 7))
|
||||||
{
|
{
|
||||||
header('Content-Disposition: attachment; ' . header_filename($file));
|
header('Content-Disposition: attachment; ' . header_filename($file));
|
||||||
|
|
|
@ -35,7 +35,8 @@ class file_info
|
||||||
{
|
{
|
||||||
$this->properties = [];
|
$this->properties = [];
|
||||||
|
|
||||||
foreach($this->adapter->file_properties($this->path) as $name => $value) {
|
foreach ($this->adapter->file_properties($this->path) as $name => $value)
|
||||||
|
{
|
||||||
$this->properties[$name] = $value;
|
$this->properties[$name] = $value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue