uawdijnntqw1x1x1
IP : 216.73.217.31
Hostname : webm015.cluster127.gra.hosting.ovh.net
Kernel : Linux webm015.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pteabiscqq
/
www
/
administrator
/
components
/
com_k2
/
models
/
settings.php
/
/
<?php /** * @version 2.11 (rolling release) * @package K2 * @author JoomlaWorks https://www.joomlaworks.net * @copyright Copyright (c) 2009 - 2024 JoomlaWorks Ltd. All rights reserved. * @license GNU/GPL: https://gnu.org/licenses/gpl.html */ // no direct access defined('_JEXEC') or die; jimport('joomla.application.component.model'); class K2ModelSettings extends K2Model { public function save() { $app = JFactory::getApplication(); $component = JTable::getInstance('component'); $component->loadByOption('com_k2'); $post = JRequest::get('post'); $component->bind($post); if (!$component->check()) { $app->enqueueMessage($component->getError(), 'error'); return false; } if (!$component->store()) { $app->enqueueMessage($component->getError(), 'error'); return false; } return true; } public function &getParams() { static $instance; if ($instance == null) { $component = JTable::getInstance('component'); $component->loadByOption('com_k2'); $instance = new JParameter($component->params, JPATH_ADMINISTRATOR.'/components/com_k2/config.xml'); } return $instance; } }
/home/pteabiscqq/www/administrator/components/com_k2/models/settings.php