projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bugfix? game entry wasn't added to DB, hope it is fixed now
[e-DoKo.git]
/
functions.php
diff --git
a/functions.php
b/functions.php
index 0ce10e29801ad8b75d484a71fce53eaae51ffd7e..1c7b29b6f239a7d9e592868f861a3a71d6d925ac 100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-4,7
+4,7
@@
* config
*/
* config
*/
-$host = "http://doko.nubati.net/index.php";
+$host = "http://doko.nubati.net/
database/
index.php";
$wiki = "http://wiki.nubati.net/index.php?title=EmailDoko";
$debug = 1;
$wiki = "http://wiki.nubati.net/index.php?title=EmailDoko";
$debug = 1;
@@
-431,4
+431,21
@@
function display_cards($me,$myturn)
return;
}
return;
}
+function return_timezone($offset)
+{
+ switch($offset)
+ {
+ case '1':
+ $zone = "Europe/Berlin";
+ break;
+ case '-8':
+ $zone = "America/Vancouver";
+ break;
+ default:
+ $zone = "Europe/London";
+ }
+
+ return $zone;
+}
+
?>
\ No newline at end of file
?>
\ No newline at end of file