1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 14:17:49 +02:00

Ignore placeholder file

This commit is contained in:
e107steved
2012-10-08 19:13:04 +00:00
parent 9f6df8be0a
commit 784e755ce5

View File

@@ -1398,7 +1398,8 @@ class e_install
$handle = opendir("{$this->e107->e107_dirs['LANGUAGES_DIRECTORY']}"); $handle = opendir("{$this->e107->e107_dirs['LANGUAGES_DIRECTORY']}");
while ($file = readdir($handle)) while ($file = readdir($handle))
{ {
if ($file != "." && $file != ".." && $file != "/" && $file != "CVS") { if ($file != "." && $file != ".." && $file != "/" && $file != "CVS" && $file != 'index.html')
{
if(file_exists("./{$this->e107->e107_dirs['LANGUAGES_DIRECTORY']}{$file}/lan_installer.php")){ if(file_exists("./{$this->e107->e107_dirs['LANGUAGES_DIRECTORY']}{$file}/lan_installer.php")){
$lanlist[] = $file; $lanlist[] = $file;
} }