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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user