芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/ancien-site-2019/site/administrator/components/com_akeeba/controllers/dbef.php
authorise('akeeba.configure', 'com_akeeba')) { $this->setRedirect('index.php?option=com_akeeba'); return JError::raiseWarning(403, JText::_('JERROR_ALERTNOAUTHOR')); $this->redirect(); } } else { // Custom ACL for Joomla! 1.5 $aclModel = JModel::getInstance('Acl','AkeebaModel'); if(!$aclModel->authorizeUser('configure')) { $this->setRedirect('index.php?option=com_akeeba'); return JError::raiseWarning(403, JText::_('Access Forbidden')); $this->redirect(); } } } /** * Handles the "display" task, which displays a folder and file list * */ public function display() { parent::display(); } /** * AJAX proxy. */ public function ajax() { // Parse the JSON data and reset the action query param to the resulting array $action_json = JRequest::getVar('action', '', 'default', 'none', 2); $action = json_decode($action_json); $model = $this->getModel('Dbef','AkeebaModel'); $model->setState('action', $action); $ret = $model->doAjax(); @ob_end_clean(); echo '###' . json_encode($ret) . '###'; flush(); JFactory::getApplication()->close(); } }