Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

admin/seti.php
Go to the documentation of this file.
1 <?php
3 //
4 // $Id: seti.php,v 0.1 2004/01/10
5 //
6 // Created on: <10-Jan-2004 Bob Sims>
7 //
8 // This source file integrates Stone Edge Order Manager
9 // with Exponential Basic v2.2 publishing software.
10 //
11 // Copyright (C) 2004 Bob Sims. All rights reserved.
12
13 include_once( "classes/INIFile.php" );
14 include_once( "classes/ezhttptool.php" );
15
16 $ini =& eZINI::instance( 'site.ini' );
17 $wwwDir = $ini->WWWDir;
18 $indexFile = $ini->Index;
19
20 $UserName = $ini->variable( "eZTradeMain", "SetiUser" );
21 $Password = $ini->variable( "eZTradeMain", "SetiPassword" );
22 $Code = $ini->variable( "eZTradeMain", "Code" );
23 $AdminSite = $ini->variable( "site", "AdminSiteURL" );
24
25 if( ($_SERVER['HTTP_PORT'] != 443) || ($_SERVER['HTTPS'] != 'on') )
26 {
27 // page is not secure, redirect
28 eZHTTPTool::header( "Location: https://" . $AdminSite . "/trade/seti/" );
29 }
30
31
32 ?>
$indexFile
$indexFile
Definition: admin/seti.php:18
$wwwDir
$wwwDir
Definition: admin/seti.php:17
$UserName
$UserName
Definition: admin/seti.php:20
$ini
$ini
Definition: admin/seti.php:16
$Code
$Code
Definition: admin/seti.php:22
$Password
$Password
Definition: admin/seti.php:21
$AdminSite
$AdminSite
Definition: admin/seti.php:23
eZHTTPTool\header
static header( $string)
Definition: ezhttptool.php:96
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.