mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 15:21:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea478b24e4
commit
99dfa91c4b
12 changed files with 23 additions and 18 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue