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

@ -212,7 +212,7 @@
$xml_info->author->date = $xml_doc->component->author->attrs->date;
$xml_info->description = str_replace('\n', "\n", $xml_doc->component->author->description->body);
$buff = '<?php if(!defined(__ZBXE__)) exit(); ';
$buff = '<?php if(!defined("__ZBXE__")) exit(); ';
$buff .= sprintf('$xml_info->component_name = "%s";', $component);
$buff .= sprintf('$xml_info->version = "%s";', $xml_info->version);
$buff .= sprintf('$xml_info->title = "%s";', $xml_info->title);