mirror of
https://github.com/e107inc/e107.git
synced 2025-08-24 07:03:06 +02:00
New language file types: English_global.php (for plugin.xml terms) and English_log.php (for admin-log terms). Auto-detected when present and loaded automatically when needed.
This commit is contained in:
@@ -1313,7 +1313,7 @@ class e_parse
|
||||
// The check for '::' is a workaround for a bug in the Zend Optimiser 3.3.0 and PHP 5.2.4 combination
|
||||
// - causes crashes if '::' in site name
|
||||
//TODO - marj - find a way to use language method here XOR remove the limit of 24 characters.
|
||||
if($opts['defs'] && (strlen($text) < 25) && ((strpos($text, '::') === FALSE) && defined(trim($text))))
|
||||
if($opts['defs'] && (strlen($text) < 35) && ((strpos($text, '::') === FALSE) && defined(trim($text))))
|
||||
{
|
||||
return constant(trim($text));
|
||||
}
|
||||
|
Reference in New Issue
Block a user