git-svn-id: http://xe-core.googlecode.com/svn/trunk@917 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-03 00:28:18 +00:00
parent 99e15dfa4b
commit f724024ace
11 changed files with 28 additions and 14 deletions

View file

@ -172,7 +172,7 @@
$db_info = Context::getDbInfo();
if(!$db_info) return;
$buff = '<?php if(!defined(__ZBXE__)) exit();'."\n";
$buff = '<?php if(!defined("__ZBXE__")) exit();'."\n";
foreach($db_info as $key => $val) {
$buff .= sprintf("\$db_info->%s = \"%s\";\n", $key, $val);
}