mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Merge pull request #1877 from nickvergessen/ticket/12023
Ticket/12023 New css files missing after update
This commit is contained in:
commit
c31787436e
2 changed files with 3 additions and 1 deletions
|
@ -569,7 +569,7 @@ function phpbb_ignore_new_file_on_update($phpbb_root_path, $file)
|
||||||
if (!$ignore_new_file && strpos($file, 'styles/') === 0)
|
if (!$ignore_new_file && strpos($file, 'styles/') === 0)
|
||||||
{
|
{
|
||||||
$dirs = explode('/', $file);
|
$dirs = explode('/', $file);
|
||||||
if ($dirs >= 5)
|
if (sizeof($dirs) >= 5)
|
||||||
{
|
{
|
||||||
list($styles_dir, $style_name, $template_component, $language_iso) = explode('/', $file);
|
list($styles_dir, $style_name, $template_component, $language_iso) = explode('/', $file);
|
||||||
if ($template_component == 'theme' && $language_iso !== 'images')
|
if ($template_component == 'theme' && $language_iso !== 'images')
|
||||||
|
|
|
@ -25,6 +25,8 @@ class phpbb_functions_install_ignore_new_file_on_update_test extends phpbb_test_
|
||||||
|
|
||||||
array('styles/prosilver/theme/en/icon_user_online.gif', false),
|
array('styles/prosilver/theme/en/icon_user_online.gif', false),
|
||||||
array('styles/prosilver/theme/languagewillneverexist/icon_user_online.gif', true),
|
array('styles/prosilver/theme/languagewillneverexist/icon_user_online.gif', true),
|
||||||
|
|
||||||
|
array('styles/prosilver/theme/imageset.css', false),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue