From a7b8a1252c9249b194562b5fb87c9d275c63b43c Mon Sep 17 00:00:00 2001 From: Jon Culver Date: Sat, 27 Jul 2013 18:57:47 -0400 Subject: [PATCH] updating time() function to return timestamp as a string return timestamp as a string to avoid 401 unauthorized error --- snaphax.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snaphax.php b/snaphax.php index e3f8933..3ac5103 100644 --- a/snaphax.php +++ b/snaphax.php @@ -269,7 +269,7 @@ function hash($param1, $param2) { } function time() { - return round(microtime(true) * 1000); + return round(microtime(false) * 1000); } }