ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
wp-includes
2026-09-13 17:56:59
Editing: DirectController.php
Cancel
Save Changes
<?php /** * Handle direct calls to plugin */ class DirectController extends Am_Controller { const PAYMENT = 'payment'; const PROTECT = 'protect'; const MISC = 'misc'; public function __call($methodName, $args) { $pluginId = filterId($this->_request->getUserParam('plugin_id')); $this->_request->setActionName(filterId($this->_request->getActionName())); if (!$pluginId) throw new Am_Exception_InputError("Internal Error: wrong URL used - no plugin id"); $type = $this->_request->getUserParam('type'); if (!$this->getDi()->plugins->offsetGet($type)) throw new Am_Exception_InternalError("Wrong [type] requested"); $pluginMgr = $this->getDi()->plugins[$type]; if (!$pluginMgr->isEnabled($pluginId)) throw new Am_Exception_InputError("The [$pluginId] plugin is disabled"); $ps = $pluginMgr->loadGet($pluginId); if (!$ps->isConfigured()) throw new Am_Exception_Configuration("The plugin [$pluginId] is not configured, directAction failed"); try { return $ps->directAction($this->_request, $this->_response, $this->_invokeArgs); } catch (Exception $e) { $this->getDi()->errorLogTable->log($e); throw $e; } } }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete