From 2effad4611c4b3e0df8dd7093878442e5986b2f2 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 23 Feb 2017 14:50:54 +0100 Subject: [PATCH] [Fix] file constants --- lib/mfrc522/source/loop.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mfrc522/source/loop.php b/lib/mfrc522/source/loop.php index 56018ff..a7f66e9 100755 --- a/lib/mfrc522/source/loop.php +++ b/lib/mfrc522/source/loop.php @@ -225,13 +225,13 @@ /* [1] Open file descriptors on useful files =========================================================*/ /* (1) Read accesses */ - $f_auth = new SplFileObject(AUTH_LIST, 'r'); + $f_auth = new SplFileObject(AUTH_CONF, 'r'); $f_states = new SplFileObject(STATES_CONF, 'r'); $f_actions = new SplFileObject(ACTIONS_CONF, 'r'); $f_gstate = @file_get_contents(STATE_CONF); /* (2) Append accesses (logs) */ - $f_accesslog = new SplFileObject(ACCESS_LOG, 'a'); + $f_accesslog = new SplFileObject(DEFAULT_DATA, 'a');