Browse Source

Decompiler: strip namespace in const array

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1342 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 8 years ago
parent
commit
2ba9c1223a
  1. 3
      lib/Decompiler.class.php

3
lib/Decompiler.class.php

@ -94,7 +94,7 @@ function value($value, &$EX) // {{{
$value = $spec;
if (!is_array($value)) {
// constant
return $value;
return $GLOBALS['__xcache_decompiler']->stripNamespace($value);
}
}
@ -519,6 +519,7 @@ class Decompiler
function Decompiler()
{
$GLOBALS['__xcache_decompiler'] = $this;
// {{{ testing
// XC_UNDEF XC_OP_DATA
$this->test = !empty($_ENV['XCACHE_DECOMPILER_TEST']);

Loading…
Cancel
Save