mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
issue 2948, changed variable definition to __XE__
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12730 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c3647b3f99
commit
1379f68c92
21 changed files with 35 additions and 35 deletions
|
|
@ -1584,7 +1584,7 @@ class menuAdminController extends menu
|
|||
{
|
||||
$xml_buff = "<root />";
|
||||
FileHandler::writeFile($xml_file, $xml_buff);
|
||||
FileHandler::writeFile($php_file, '<?php if(!defined("__ZBXE__")) exit(); ?>');
|
||||
FileHandler::writeFile($php_file, '<?php if(!defined("__XE__")) exit(); ?>');
|
||||
return $xml_file;
|
||||
}
|
||||
// Change to an array if only a single data is obtained
|
||||
|
|
@ -2011,7 +2011,7 @@ class menuAdminController extends menu
|
|||
|
||||
public function makeHomemenuCacheFile($menuSrl)
|
||||
{
|
||||
$cacheBuff .= sprintf('<?php if(!defined("__ZBXE__")) exit();');
|
||||
$cacheBuff .= sprintf('<?php if(!defined("__XE__")) exit();');
|
||||
$cacheBuff .= sprintf('$homeMenuSrl = %d;', $menuSrl);
|
||||
|
||||
FileHandler::writeFile($this->homeMenuCacheFile, $cacheBuff);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue