uawdijnntqw1x1x1
IP : 104.23.243.222
Hostname : vps-ebe98236
Kernel : Linux vps-ebe98236 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
html
/
Joomla
/
b2748
/
..
/
administrator
/
.
/
components
/
com_dbreplacer
/
controller.php
/
/
<?php /** * @package DB Replacer * @version 7.5.1 * * @author Peter van Westen <info@regularlabs.com> * @link http://regularlabs.com * @copyright Copyright © 2023 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ defined('_JEXEC') or die; use Joomla\CMS\Component\ComponentHelper as JComponentHelper; use Joomla\CMS\Factory as JFactory; use Joomla\CMS\MVC\Controller\BaseController as JController; /** * DB Replacer Default Controller */ class DBReplacerController extends JController { /** * Display Method * Call the method and display the requested view */ public function display($cachable = false, $urlparams = false) { $viewName = JFactory::getApplication()->input->get('view', 'default'); $viewLayout = JFactory::getApplication()->input->get('layout', 'default'); if ($viewName == 'item') { // Hide the main menu JFactory::getApplication()->input->set('hidemainmenu', 1); } $view = $this->getView('default', JFactory::getDocument()->getType()); // Get/Create the model $model = $this->getModel('default'); if ($model) { // Push the model into the view ( as default ) $view->setModel($model, true); } // Set the layout $view->setLayout($viewLayout); // Display the view $view->display(); } /** * Import Method * Call the method and display the import view */ public function import() { JFactory::getApplication()->input->set('layout', 'import'); $this->display(); } /** * Replace Method * Set Redirection to the main administrator index */ public function replace() { $this->doReplace(); $this->display(); } /** * Replace Method * Set Redirection to the main administrator index */ private function doReplace() { $params = (object) []; $params->table = JFactory::getApplication()->input->get('table'); $params->columns = JFactory::getApplication()->input->get('columns', [0], 'array'); $params->search = JFactory::getApplication()->input->get('search', '', 'RAW'); if ( ! $params->table || $params->search == '' || ! is_array($params->columns) || empty($params->columns)) { return; } // Get/Create the model if ( ! $model = $this->getModel(JFactory::getApplication()->input->get('view', 'default'))) { return; } $params->replace = JFactory::getApplication()->input->get('replace', '', 'RAW'); $params->case = JFactory::getApplication()->input->getInt('case', 0); $params->max = 50; $model->replace($params); } }
/var/www/html/Joomla/b2748/../administrator/./components/com_dbreplacer/controller.php