diff options
Diffstat (limited to 'phpBB/includes/acp/acp_styles.php')
| -rw-r--r-- | phpBB/includes/acp/acp_styles.php | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php index d2a0f9210f..3310560c73 100644 --- a/phpBB/includes/acp/acp_styles.php +++ b/phpBB/includes/acp/acp_styles.php @@ -643,13 +643,13 @@ parse_css_file = {PARSE_CSS_FILE}  		{  			while (($file = readdir($dp)) !== false)  			{ -				if (!is_dir($phpbb_root_path . 'styles/' . $file)) +				if ($file[0] == '.' || !is_dir($phpbb_root_path . 'styles/' . $file))  				{  					continue;  				}  				$subpath = ($mode != 'style') ? "$mode/" : ''; -				if ($file[0] != '.' && file_exists("{$phpbb_root_path}styles/$file/$subpath$mode.cfg")) +				if (file_exists("{$phpbb_root_path}styles/$file/$subpath$mode.cfg"))  				{  					if ($cfg = file("{$phpbb_root_path}styles/$file/$subpath$mode.cfg"))  					{  | 
