-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
50 lines (40 loc) · 1.2 KB
/
config.php
File metadata and controls
50 lines (40 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<title>Linux Powered Checkout system</title>
<link rel="SHORTCUT ICON" href="favicon.ico">
<meta charset="UTF-8">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link href="css/south-street/jquery-ui-1.10.3.custom.css" rel="stylesheet">
<link rel="stylesheet" href="css/print.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery-1.9.1.js"></script>
<script src="js/jquery-ui-1.10.3.custom.js"></script>
</head>
<body>
<?php
//General options...
//MySQL database options...
$db_server = "localhost";
$db_username = "helpdesk";
$db_password = "helpdesk";
$db_database = "checkout";
//Other global variables...
date_default_timezone_set('America/Chicago');
//set default, or first type chosen
$type=4;
//set to True to turn on all debug commands, and False for normal operation.
$debug = False;
//$debug = True;
//$outputType = "pdf";
$outputType = "html";
//set all variables without needing get or post
//has benefit of listing all global variables!
if ($debug){
echo "Debugging is turned on!<br>";
ini_set('display_errors',1);
} else {
ini_set('display_errors',0);
}
// end set debugging
?>