mirror of
https://github.com/e107inc/e107.git
synced 2025-05-02 02:07:52 +02:00
Added extra exclusion to Plugin Language-File checker.
This commit is contained in:
parent
6337d9410c
commit
9af51e21db
@ -1713,8 +1713,8 @@ class pluginLanguage
|
||||
|
||||
private $unused = array();
|
||||
private $unsure = array();
|
||||
|
||||
private $excludeLans = array('CORE_LC', 'CORE_LC2');
|
||||
|
||||
private $excludeLans = array('CORE_LC', 'CORE_LC2', 'e_LAN', 'e_LANGUAGE', 'e_LANGUAGEDIR', 'LAN', 'LANGUAGE');
|
||||
|
||||
private $useSimilar = false;
|
||||
|
||||
@ -2085,7 +2085,7 @@ class pluginLanguage
|
||||
{
|
||||
foreach($match[1] as $lan)
|
||||
{
|
||||
if($lan != 'e_LANGUAGE' && $lan != 'e_LANGUAGEDIR' && $lan != 'LAN' && $lan != 'LANGUAGE')
|
||||
if(!in_array($lan,$this->excludeLans))
|
||||
{
|
||||
$this->scriptDefs[] = $lan;
|
||||
$this->scriptDefsData[] = array('file'=>$path, 'line'=>$ln, 'lan'=>$lan, 'value'=>$this->lanDefsRaw[$lan]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user