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 7 years ago
parent
commit
2ba9c1223a
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      lib/Decompiler.class.php

+ 2
- 1
lib/Decompiler.class.php View File

@ -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