mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
Add 'smartphone' add-on to common blacklist
This commit is contained in:
parent
d4a7b921d0
commit
e4077ad324
2 changed files with 3 additions and 2 deletions
|
|
@ -7,5 +7,6 @@
|
||||||
*/
|
*/
|
||||||
return array(
|
return array(
|
||||||
'member_communication' => true,
|
'member_communication' => true,
|
||||||
|
'smartphone' => true,
|
||||||
'zipperupper' => true,
|
'zipperupper' => true,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<?php
|
s<?php
|
||||||
/* Copyright (C) NAVER <http://www.navercorp.com> */
|
/* Copyright (C) NAVER <http://www.navercorp.com> */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -84,7 +84,7 @@ class addonController extends addon
|
||||||
$addon_list = $oAddonModel->getInsertedAddons($site_srl, $gtype);
|
$addon_list = $oAddonModel->getInsertedAddons($site_srl, $gtype);
|
||||||
foreach($addon_list as $addon => $val)
|
foreach($addon_list as $addon => $val)
|
||||||
{
|
{
|
||||||
if($val->addon == "smartphone" || Context::isBlacklistedPlugin($addon)
|
if(Context::isBlacklistedPlugin($addon)
|
||||||
|| ($type == "pc" && $val->is_used != 'Y')
|
|| ($type == "pc" && $val->is_used != 'Y')
|
||||||
|| ($type == "mobile" && $val->is_used_m != 'Y')
|
|| ($type == "mobile" && $val->is_used_m != 'Y')
|
||||||
|| ($gtype == 'global' && $val->is_fixed != 'Y')
|
|| ($gtype == 'global' && $val->is_fixed != 'Y')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue