mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
issue 160 fixed a bug for addon
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9148 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ead9eceded
commit
865e88c47b
4 changed files with 11 additions and 11 deletions
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
$addon_path = _XE_PATH_.'files/cache/addons/';
|
||||
|
||||
if($site_srl) $addon_file = $addon_path.$site_srl.$type.'.acivated_addons.cache.php';
|
||||
else $addon_file = $addon_path.$type.'acivated_addons.cache.php';
|
||||
$addon_file = $addon_path.$site_srl.$type.'.acivated_addons.cache.php';
|
||||
|
||||
if($this->addon_file_called) return $addon_file;
|
||||
$this->addon_file_called = true;
|
||||
|
|
@ -147,7 +146,7 @@
|
|||
if(!is_dir($addon_path)) FileHandler::makeDir($addon_path);
|
||||
|
||||
if($gtype == 'site') $addon_file = $addon_path.$site_srl.$type.'.acivated_addons.cache.php';
|
||||
else $addon_file = $addon_path.$type.'acivated_addons.cache.php';
|
||||
else $addon_file = $addon_path.$type.'.acivated_addons.cache.php';
|
||||
|
||||
FileHandler::writeFile($addon_file, $buff);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue