changed variable definition to __XE__

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12729 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
chschy 2013-02-12 02:46:25 +00:00
parent 3a11f85ee3
commit c3647b3f99
2 changed files with 2 additions and 2 deletions

View file

@ -309,7 +309,7 @@ class XmlQueryParser extends XmlParser
} }
} }
$buff = "<?php if(!defined('__ZBXE__')) exit();\n" $buff = "<?php if(!defined('__XE__')) exit();\n"
. sprintf('$output->query_id = "%s";%s', $query_id, "\n") . sprintf('$output->query_id = "%s";%s', $query_id, "\n")
. sprintf('$output->action = "%s";%s', $action, "\n") . sprintf('$output->action = "%s";%s', $action, "\n")
. $pre_buff . $pre_buff

View file

@ -116,7 +116,7 @@ class QueryParser
*/ */
function toString() function toString()
{ {
return "<?php if(!defined('__ZBXE__')) exit();\n" return "<?php if(!defined('__XE__')) exit();\n"
. $this->queryTag->toString() . $this->queryTag->toString()
. 'return $query; ?>'; . 'return $query; ?>';
} }