mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Allow any constants passed to also be hooked, modified etc.
This commit is contained in:
@@ -1455,7 +1455,7 @@ class e_parse extends e_parser
|
||||
|
||||
if($opts['defs'] && (strlen($text) < 35) && ((strpos($text, '::') === FALSE) && defined(trim($text))))
|
||||
{
|
||||
return constant(trim($text));
|
||||
$text = constant(trim($text)); // don't return yet, words could be hooked with linkwords etc.
|
||||
}
|
||||
|
||||
if ($opts['no_tags'])
|
||||
|
Reference in New Issue
Block a user