mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 17:27:16 +02:00
a bunch of fixes
git-svn-id: file:///svn/phpbb/trunk@7884 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1704,7 +1704,12 @@ class install_install extends module
|
||||
{
|
||||
$path = $phpbb_root_path . 'language/' . $file;
|
||||
|
||||
if (is_dir($path) && !is_link($path) && file_exists($path . '/iso.txt'))
|
||||
if ($file == '.' || $file == '..' || is_link($path) || is_file($path) || $file == 'CVS')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (is_dir($path) && file_exists($path . '/iso.txt'))
|
||||
{
|
||||
$lang_file = file("{$phpbb_root_path}language/$path/iso.txt");
|
||||
|
||||
|
@@ -454,7 +454,7 @@ class install_update extends module
|
||||
{
|
||||
if (substr(strrchr($entry, '.'), 1) == 'css')
|
||||
{
|
||||
$file_list[] = $entry;
|
||||
$file_list[] = "{$phpbb_root_path}styles/{$theme['theme_path']}/theme/{$entry}";
|
||||
}
|
||||
}
|
||||
closedir($dir);
|
||||
|
Reference in New Issue
Block a user