mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 15:22:15 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@231 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f7d1c4c9f6
commit
b22c7ab14d
4 changed files with 36 additions and 1 deletions
|
|
@ -119,6 +119,7 @@
|
|||
$args->list_order = 'addon';
|
||||
$output = $oDB->executeQuery('addon.getAddons', $args);
|
||||
if(!$output->data) return array();
|
||||
if(!is_array($output->data)) $output->data = array($output->data);
|
||||
|
||||
$activated_count = count($output->data);
|
||||
for($i=0;$i<$activated_count;$i++) {
|
||||
|
|
@ -128,5 +129,17 @@
|
|||
return $addon_list;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief 애드온이 활성화 되어 있는지 체크
|
||||
**/
|
||||
function isActivatedAddon($addon) {
|
||||
$oDB = &DB::getInstance();
|
||||
$args->addon = $addon;
|
||||
$output = $oDB->executeQuery('addon.getAddonIsActivated', $args);
|
||||
if($output->data->count>0) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue