mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Merge pull request #1475 from OTroccaz/lancheck
Avoid "Missing file" message for deprecated files in language-Packs verification
This commit is contained in:
@@ -1285,7 +1285,7 @@ class lancheck
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
// $sql->db_Mark_Time('Start Get Core Lan Phrases English');
|
||||
$English = $this->get_comp_lan_phrases(e_LANGUAGEDIR."English/".$subdir,$checklan);
|
||||
$English = $this->get_comp_lan_phrases(e_LANGUAGEDIR."English/".$subdir,"English");
|
||||
|
||||
// $sql->db_Mark_Time('End Get Core Lan Phrases English');
|
||||
$check = $this->get_comp_lan_phrases(e_LANGUAGEDIR.$checklan."/".$subdir,$checklan);
|
||||
@@ -1544,7 +1544,7 @@ class lancheck
|
||||
|
||||
foreach($lang_array as $k=> $f)
|
||||
{
|
||||
$path = str_replace(e_LANGUAGEDIR.e_LANGUAGE."/", "", $f['path'].$f['fname']);
|
||||
$path = str_replace(e_LANGUAGEDIR.$lang."/", "", $f['path'].$f['fname']);
|
||||
|
||||
if(in_array($path, $this->deprecatedFiles))
|
||||
{
|
||||
|
Reference in New Issue
Block a user