✏️ 正在编辑: IndexController.php
路径:
/srv/systems_dir/oakberry/application/controllers/IndexController.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php class IndexController extends Zend_Controller_Action { protected $title = 'Dashboard'; protected $titleIcon = 'glyphicon-reg glyphicon-reg-dashboard'; protected $sideMenu = null; public function init() { if ($this->title) { $this->view->title = $this->title; } if ($this->titleIcon) { $this->view->titleIcon = $this->titleIcon; } if ($this->sideMenu) { $this->view->sideMenu = $this->sideMenu; } $this->view->acl = new Core_LibraryAcl(Yuppie_Auth::getIdentity()->grupo); } public function indexAction() { } public function semPermissaoAction() { if( $this->getRequest()->isXmlHttpRequest() ){ $this->_helper->json(array( 'alert' => 'Você não tem permissão de acesso a esta área.' )); } } }
💾 保存文件
← 返回文件管理器