1
0
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:
Meik Sievertsen
2007-07-14 15:44:10 +00:00
parent e16e766409
commit 3585dbd42c
22 changed files with 224 additions and 109 deletions

View File

@@ -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");

View File

@@ -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);