%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11585/cwd/html/old/administrator/components/com_phocadownload/controllers/ |
Upload File : |
<?php /* * @package Joomla 1.5 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php * * @component Phoca Gallery * @copyright Copyright (C) Jan Pavelka www.phoca.cz * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL */ defined('_JEXEC') or die(); jimport('joomla.application.component.controllerform'); class PhocaDownloadCpControllerPhocaDownloadM extends JControllerForm { protected $option = 'com_phocadownload'; protected $view_list = 'phocadownloadmanager'; protected $layout = 'edit'; function __construct() { parent::__construct(); $this->layout = 'edit'; } protected function allowAdd($data = array()) { $user = JFactory::getUser(); $allow = null; $allow = $user->authorise('core.create', 'com_phocadownload'); if ($allow === null) { return parent::allowAdd($data); } else { return $allow; } } protected function allowEdit($data = array(), $key = 'id') { $user = JFactory::getUser(); $allow = null; $allow = $user->authorise('core.edit', 'com_phocadownload'); if ($allow === null) { return parent::allowEdit($data, $key); } else { return $allow; } } function edit($key = NULL, $urlVar = NULL) { $this->setRedirect(JRoute::_('index.php?option='.$this->option.'&view='.$this->view_list.'&layout='.$this->layout.'&manager=filemultiple', false)); } function cancel($key = NULL) { $this->setRedirect( 'index.php?option=com_phocadownload&view=phocadownloadfiles' ); } } ?>