test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
550 B

<?php
defined('IN_IA') or exit('Access Denied');
if (in_array($action, array('site', 'menu', 'attachment', 'systeminfo', 'logs', 'filecheck', 'optimize',
'database', 'scan', 'bom', 'ipwhitelist', 'sensitiveword', 'thirdlogin', 'oauth', 'usersetting', 'job', 'check', 'save_setting', 'scrapfile', ))) {
define('FRAME', 'site');
}
if ('platform' == $action) {
define('FRAME', 'account_manage');
}
if ('workorder' == $action) {
define('FRAME', 'workorder');
}
if (in_array($action, array('template', 'updatecache'))) {
define('FRAME', 'system');
}