From fe6a81ef3aa7e6732954cecf073b4b10aed3da1f Mon Sep 17 00:00:00 2001 From: Torsten Stelling Date: Fri, 28 Jun 2013 19:26:11 +0200 Subject: [PATCH] added DEBUG_FILE to debug configuration changed authentication call from Mr.Reader so that the reply is also uppercase, since the API-KEY comes in uppercase from clients fixed debug output while authentication in Mr.Reader with displaying the email adress --- README.md | 6 ++++++ fever/fever_api.php | 15 ++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 589a472..10e1af4 100644 --- a/README.md +++ b/README.md @@ -77,3 +77,9 @@ v1.4.1 - 2013/6/28 v1.4.2 - 2013/6/28 * changed the DEBUG_USER evaluation a little bit for disabling authentication without DEBUG = true + +v1.4.3 - 2013/6/28 + +* added ```DEBUG_FILE``` to debug configuration +* changed authentication call from Mr.Reader so that the reply is also uppercase, since the API-KEY comes in uppercase from clients +* fixed debug output while authentication in Mr.Reader with displaying the email adress diff --git a/fever/fever_api.php b/fever/fever_api.php index 8ccd981..7db7289 100755 --- a/fever/fever_api.php +++ b/fever/fever_api.php @@ -1,6 +1,6 @@ 0 $links = array(); return $links; @@ -717,7 +718,7 @@ class FeverAPI extends Handler { if (parent::before($method)) { if (self::DEBUG) { // add request to debug log - file_put_contents('./debug_fever.txt','parameter: '.json_encode($_REQUEST)."\n",FILE_APPEND); + file_put_contents(self::DEBUG_FILE,'parameter: '.json_encode($_REQUEST)."\n",FILE_APPEND); } // set the user from the db