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.
20 lines
517 B
20 lines
517 B
<?php
|
|
defined('IN_IA') or exit('Access Denied');
|
|
|
|
class Plugin_WeliamController{
|
|
public function index(){
|
|
global $_W,$_GPC;
|
|
$plugin = Setting::agentsetting_read('pluginlist');
|
|
if(checksubmit('submit')){
|
|
$plugin = $_GPC['plugin'];
|
|
$res1 = Setting::agentsetting_save($plugin,'pluginlist');
|
|
if ($res1) {
|
|
wl_message('保存设置成功!', referer(), 'success');
|
|
} else {
|
|
wl_message('保存设置失败!', referer(), 'error');
|
|
}
|
|
}
|
|
include wl_template('dashboard/pluginIndex');
|
|
}
|
|
}
|
|
?>
|