mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
PHP 5.3+(and NOT 3+ as stated in the previous commit :) ) overall system compatibility
This commit is contained in:
@@ -913,7 +913,7 @@ function unused($lanfile,$script)
|
||||
{
|
||||
if(trim($line) !="")
|
||||
{
|
||||
$disabled = (eregi("^//",$line)) ? " (disabled)" : FALSE;
|
||||
$disabled = (preg_match("#^//#i",$line)) ? " (disabled)" : FALSE;
|
||||
if($match = getDefined($line))
|
||||
{
|
||||
$text .= compareit($match['define'],$compare,$match['value'],$disabled);
|
||||
|
Reference in New Issue
Block a user