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

This commit is contained in:
zero 2007-04-03 00:06:13 +00:00
parent 5a452aae02
commit 99e15dfa4b
9 changed files with 11 additions and 11 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(!__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);