コード例 #1
0
ファイル: mcp.assets.php プロジェクト: kentonquatman/iofa
 /**
  * Settings page
  */
 function settings()
 {
     if ($this->EE->session->userdata['group_id'] != 1) {
         $this->_forbidden();
     }
     $this->_set_page_title(lang('settings'));
     $vars['base'] = $this->base;
     $vars['settings'] = Assets_helper::get_global_settings();
     $this->EE->load->library('table');
     return $this->EE->load->view('mcp/settings', $vars, TRUE);
 }