uawdijnntqw1x1x1
IP : 216.73.216.231
Hostname : 213-108-241-110.cprapid.com
Kernel : Linux 213-108-241-110.cprapid.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
digilove
/
public_html
/
administrator
/
components
/
com_gsd
/
tables
/
config.php
/
/
<?php /** * @package Google Structured Data * @version 5.6.5 Pro * * @author Tassos Marinos <info@tassos.gr> * @link http://www.tassos.gr * @copyright Copyright © 2021 Tassos Marinos All Rights Reserved * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later */ defined('_JEXEC') or die('Restricted access'); use Joomla\CMS\Table\Table; use Joomla\CMS\Factory; class GSDTableConfig extends Table { /** * Constructor * * @param object Database connector object */ function __construct(&$db) { parent::__construct('#__gsd_config', 'name', $db); } /** * Store method * * @param string $key The config name */ public function store($key = 'config') { $db = Factory::getDBo(); $table = $this->_tbl; $key = empty($this->name) ? $key : $this->name; // Check if key exists $result = $db->setQuery( $db->getQuery(true) ->select('COUNT(*)') ->from($db->quoteName($this->_tbl)) ->where($db->quoteName('name') . ' = ' . $db->quote($key)) )->loadResult(); $exists = $result > 0 ? true : false; // Prepare object to be saved $data = new \stdClass(); $data->name = $key; $data->params = $this->params; if ($exists) { return $db->updateObject($table, $data, 'name'); } return $db->insertObject($table, $data); } }
/home/digilove/public_html/administrator/components/com_gsd/tables/config.php