Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_jssupportticket/models/postinstallation.php
Ðазад
<?php /** * @Copyright Copyright (C) 2012 ... Ahmad Bilal * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html * Company: Buruj Solutions + Contact: www.burujsolutions.com , info@burujsolutions.com * Created on: March 04, 2014 ^ + Project: JS Tickets ^ */ defined('_JEXEC') or die('Not Allowed'); jimport('joomla.application.component.model'); jimport('joomla.html.html'); class JSSupportticketModelPostInstallation extends JSSupportTicketModel { function __construct() { parent::__construct(); } function storeConfigurations($data){ if (empty($data)) return false; $error = false; $db = $this->getDBO(); unset($data['action']); unset($data['form_request']); foreach ($data as $key => $value) { $query = "UPDATE `#__js_ticket_config` SET `configvalue` = '" . $value . "' WHERE `configname`= '" . $key . "'"; $db->setQuery($query); if (!$db->execute()) { $error = true; } } if ($error) return SAVE_ERROR; else return SAVED; } function getConfigurationValues(){ $db = $this->getDBO(); // $this->updateInstallationStatusConfiguration(); $query = "SELECT configvalue,configname FROM`#__js_ticket_config`"; $db->setQuery($query); $data = $db->loadObjectList(); $config_array = array(); foreach ($data as $config) { $config_array[$config->configname]=$config->configvalue; } return $config_array; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка