diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/languages.php | 2 | ||||
-rw-r--r-- | engine/start.php | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php index 5292b5403..1e2714d77 100644 --- a/engine/lib/languages.php +++ b/engine/lib/languages.php @@ -86,7 +86,7 @@ if ($handle = opendir($path)) {
while ($language = readdir($handle)) {
- if (!in_array($language,array('.','..','.svn','CVS')) && !is_dir($path . $language)) {
+ if (!in_array($language,array('.','..','.svn','CVS', '.DS_Store', 'Thumbs.db',)) && !is_dir($path . $language)) {
@include($path . $language);
}
}
diff --git a/engine/start.php b/engine/start.php index 174c8f8b4..dc785974b 100644 --- a/engine/start.php +++ b/engine/start.php @@ -107,7 +107,9 @@ // We don't want to load or reload these files
$file_exceptions = array(
- '.','..',
+ '.','..', + '.DS_Store', + 'Thumbs.db',
'.svn',
'CVS','cvs',
'settings.php','settings.example.php','languages.php','exceptions.php','elgglib.php','database.php','actions.php','sessions.php'
|