| 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/GXMainComponents/ |
Upload File : |
<?php
/* --------------------------------------------------------------
ApplicationMain.inc.php 2019-08-15
Gambio GmbH
http://www.gambio.de
Copyright (c) 2019 Gambio GmbH
Released under the GNU General Public License (Version 2)
[http://www.gnu.org/licenses/gpl-2.0.html]
--------------------------------------------------------------
based on:
(c) 2000-2001 The Exchange Project (earlier name of osCommerce)
(c) 2002-2003 osCommerce(application_top.php,v 1.273 2003/05/19); www.oscommerce.com
(c) 2003 nextcommerce (application_top.php,v 1.54 2003/08/25); www.nextcommerce.org
(c) 2003 XT-Commerce - community made shopping http://www.xt-commerce.com ($Id: application_top.php 1323 2005-10-27 17:58:08Z mz $)
Released under the GNU General Public License
-----------------------------------------------------------------------------------------
Third Party contribution:
Add A Quickie v1.0 Autor Harald Ponce de Leon
Credit Class/Gift Vouchers/Discount Coupons (Version 5.10)
http://www.oscommerce.com/community/contributions,282
Copyright (c) Strider | Strider@oscworks.com
Copyright (c Nick Stanko of UkiDev.com, nick@ukidev.com
Copyright (c) Andre ambidex@gmx.net
Copyright (c) 2001,2002 Ian C Wilson http://www.phesis.org
Released under the GNU General Public License
---------------------------------------------------------------------------------------*/
namespace Gambio\GX;
use InputFilter;
use product;
require_once __DIR__ . '/Application.inc.php';
/**
* Class ApplicationMain
* @package Gambio
*/
class ApplicationMain extends Application
{
public function run()
{
$this->runGProtector();
self::loadConfig();
$this->checkRequestUriForCorrectProtocolAndDomain();
$this->setUpEnvironment();
$this->runPrimalExtenders();
$this->setUpFrontend();
$this->handleChangeOfLanguageOrCurrencyOrCountry();
$this->initLanguage();
$this->updateSessionData();
$this->initializeGlobalObjects();
$this->initializeGlobalCategoryVariables();
$this->runExtenders();
$this->sendHeader();
}
protected function sanitizeRequestData()
{
# check GET/POST/COOKIE VARS
require_once DIR_WS_CLASSES . 'class.inputfilter.php';
$inputFilter = new InputFilter();
$_GET = $inputFilter->process($_GET, true);
$_POST = $inputFilter->process($_POST);
}
protected function initializeGlobalObjects()
{
parent::initializeGlobalObjects();
$GLOBALS['cPath'] = '';
$GLOBALS['cPath_array'] = [];
$GLOBALS['product'] = new product(0, $this->getLanguageId());
}
}