correct timezone for Scrabble's web server and database server

This commit is contained in:
jake committed 2013-05-19 18:00:23 -04:00
1 parent 39f4be98fe
commit 246969726b
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ function checkSpoonedByID($id) {
}
function spoonByID($id) {
mysql_query('SET time_zone = "America/New_York"');
mysql_query('SET time_zone = "' . $timezone_number . '"');
mysql_query("UPDATE spooners SET spooned_by = " . getReverseTargetByID($id) . ", time_spooned = NOW(), spooned = 1, order_num = -1 WHERE id = " . $id);
}