projects
/
clearscm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git+ssh://github.com/adefaria/clearscm
[clearscm.git]
/
maps
/
php
/
MAPS.php
diff --git
a/maps/php/MAPS.php
b/maps/php/MAPS.php
index
b718935
..
22110bb
100755
(executable)
--- a/
maps/php/MAPS.php
+++ b/
maps/php/MAPS.php
@@
-44,7
+44,7
@@
function DBError($msg, $statement) {
} // DBError
function OpenDB() {
} // DBError
function OpenDB() {
- $db = mysql_connect("localhost", "maps
admin", "mapsadmin
")
+ $db = mysql_connect("localhost", "maps
", "spam
")
or DBError("OpenDB: Unable to connect to database server", "Connect");
mysql_select_db("MAPS")
or DBError("OpenDB: Unable to connect to database server", "Connect");
mysql_select_db("MAPS")
@@
-196,7
+196,7
@@
function GetStats($nbr_days, $date = "") {
function displayquickstats() {
$today = substr (Today2SQLDatetime(), 0, 10);
$dates = getquickstats($today);
function displayquickstats() {
$today = substr (Today2SQLDatetime(), 0, 10);
$dates = getquickstats($today);
- $current_time = date("g:i a");
+ $current_time = date("g:i
:s
a");
// Start quickstats
print "<div class=quickstats>";
// Start quickstats
print "<div class=quickstats>";