Cheetah
cart.php
Go to the documentation of this file.
1 <?php
2 
8 require_once( 'inc/header.inc.php' );
9 require_once( CH_DIRECTORY_PATH_INC . 'profiles.inc.php' );
10 require_once( CH_DIRECTORY_PATH_INC . 'utils.inc.php' );
11 
12 check_logged();
13 
14 ch_import('ChWsbPayments');
15 $sUrl = $oPayment = ChWsbPayments::getInstance()->getCartUrl();
16 
17 if(empty($sUrl))
18  $oSysTemplate->displayPageNotFound();
19 
20 header('Location: ' . $sUrl);
header
</code > Be careful enabling this directive if you have a redirector script that does not use the< code > Location</code > HTTP header
Definition: URI.MungeResources.txt:10
check_logged
check_logged()
Definition: admin.inc.php:238
ch_import
ch_import($sClassName, $aModule=array())
Definition: utils.inc.php:1218
$sUrl
$sUrl
Definition: cart.php:15
php
ChWsbPayments\getInstance
static getInstance()
Definition: ChWsbPayments.php:31
exit
exit
Definition: cart.php:21
$oSysTemplate
$oSysTemplate
Definition: params.inc.php:22
empty
Attr AllowedRel this is empty
Definition: Attr.AllowedRel.txt:7