forked from leducmills/Inventory
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigEB.php
More file actions
executable file
·35 lines (30 loc) · 863 Bytes
/
configEB.php
File metadata and controls
executable file
·35 lines (30 loc) · 863 Bytes
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
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_equip = "**********";
$database_equip = "**********";
$username_equip = "**********";
$password_equip = "**********";
$equip = mysql_pconnect($hostname_equip, $username_equip, $password_equip) or die(mysql_error());
$weekends = true; // if open weekends, flag this
// set your open and close times here. System will only work with Hour arguments, input hour in 24 our time in format HH
$monOpen = 10;
$monClose = 22;
$tueOpen = 10;
$tueClose = 22;
$wedOpen = 10;
$wedClose = 22;
$thuOpen = 10;
$thuClose = 22;
$friOpen = 10;
$friClose = 17;
$satOpen = 12;
$satClose = 15;
$sunOpen = 12;
$sunClose = 15;
// fine controls
$fineAmount = 5.00; // amount of fine
$fineFreq = 900; // amount of time per fine increment, in seconds
$maxFine = 100.00; // max amount of fine per kit
?>