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');