mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 04:40:44 +02:00
Bugtracker #3655 - lancheck Will not longer try to redefine constants
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<?php
|
||||
<?php
|
||||
/*
|
||||
+ ----------------------------------------------------------------------------+
|
||||
| e107 website system
|
||||
@@ -11,9 +11,9 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2007-05-01 19:50:55 $
|
||||
| $Author: lisa_ $
|
||||
| $Revision: 1.6 $
|
||||
| $Date: 2007-10-07 22:01:43 $
|
||||
| $Author: mcfly_e107 $
|
||||
| With code from Izydor and Lolo.
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -615,13 +615,17 @@ function fill_phrases_array($data,$type) {
|
||||
preg_match("#\"(.*?)\".*?\'(.*)\'#",$line,$matches) ||
|
||||
preg_match("#\'(.*?)\'.*?\'(.*)\'#",$line,$matches) ||
|
||||
preg_match("#\((.*?)\,.*?\"(.*)\"#",$line,$matches) ||
|
||||
preg_match("#\((.*?)\,.*?\'(.*)\'#",$line,$matches)){
|
||||
preg_match("#\((.*?)\,.*?\'(.*)\'#",$line,$matches))
|
||||
{
|
||||
//echo "get_lan -->".$matches[1]." :: ".$ndef.$matches[2]."<br />";
|
||||
if(!isset($retloc[$type][$matches[1]]))
|
||||
{
|
||||
$retloc[$type][$matches[1]]= $ndef.$matches[2];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $retloc;
|
||||
}
|
||||
@@ -668,5 +672,3 @@ function lancheck_adminmenu() {
|
||||
|
||||
show_admin_menu(ADLAN_132, $action, $var);
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user