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

This commit is contained in:
zero 2007-04-23 03:08:08 +00:00
parent ea478b24e4
commit 99dfa91c4b
12 changed files with 23 additions and 18 deletions

View file

@ -64,7 +64,7 @@
$cache_file = sprintf('./files/cache/plugin/%s.%s.cache.php', $plugin, Context::getLangType());
if(file_exists($cache_file)&&filectime($cache_file)>filectime($xml_file)) {
include $cache_file;
@include($cache_file);
return $plugin_info;
}
@ -123,7 +123,7 @@
$buff = '<?php if(!defined("__ZBXE__")) exit(); '.$buff.' ?>';
FileHandler::writeFile($cache_file, $buff);
if(file_exists($cache_file)) include $cache_file;
if(file_exists($cache_file)) @include($cache_file);
return $plugin_info;
}