hpdl
|
1
|
1
|
<?php
|
|
2
|
/*
|
mattice
|
151
|
3
|
$Id: application.php 1498 2007-03-29 14:04:50Z hpdl $
|
hpdl
|
1
|
4
|
|
|
5
|
osCommerce, Open Source E-Commerce Solutions
|
|
6
|
http://www.oscommerce.com
|
|
7
|
|
hpdl
|
383
|
8
|
Copyright (c) 2006 osCommerce
|
hpdl
|
1
|
9
|
|
hpdl
|
1498
|
10
|
This program is free software; you can redistribute it and/or modify
|
|
11
|
it under the terms of the GNU General Public License v2 (1991)
|
|
12
|
as published by the Free Software Foundation.
|
hpdl
|
1
|
13
|
*/
|
|
14
|
|
|
15
|
// Set the level of error reporting
|
hpdl
|
471
|
16
|
error_reporting(E_ALL & ~E_NOTICE);
|
hpdl
|
1
|
17
|
|
hpdl
|
410
|
18
|
define('DEFAULT_LANGUAGE', 'en_US');
|
hpdl
|
450
|
19
|
define('HTTP_COOKIE_PATH', '');
|
|
20
|
define('HTTPS_COOKIE_PATH', '');
|
|
21
|
define('HTTP_COOKIE_DOMAIN', '');
|
|
22
|
define('HTTPS_COOKIE_DOMAIN', '');
|
hpdl
|
383
|
23
|
|
hpdl
|
1
|
24
|
require('../includes/functions/compatibility.php');
|
|
25
|
|
|
26
|
require('../includes/functions/general.php');
|
|
27
|
require('functions/general.php');
|
|
28
|
require('../includes/functions/html_output.php');
|
|
29
|
|
|
30
|
require('../includes/classes/database.php');
|
hpdl
|
410
|
31
|
|
frank
|
1283
|
32
|
require('../includes/classes/xml.php');
|
|
33
|
|
hpdl
|
977
|
34
|
session_start();
|
|
35
|
|
frank
|
1283
|
36
|
require('../admin/includes/classes/directory_listing.php');
|
|
37
|
|
hpdl
|
410
|
38
|
require('includes/classes/language.php');
|
|
39
|
$osC_Language = new osC_LanguageInstall();
|
hpdl
|
975
|
40
|
|
|
41
|
header('Content-Type: text/html; charset=' . $osC_Language->getCharacterSet());
|
hpdl
|
1
|
42
|
?>
|