[endfix]
This commit is contained in:
parent
b8d724099f
commit
b4a27d4a6d
|
@ -195,7 +195,6 @@
|
|||
$action = $actionlist[$toPerform];
|
||||
|
||||
|
||||
var_dump($action);
|
||||
/* [5] Process the action on the STATE
|
||||
=========================================================*/
|
||||
/* (1) Update the state with the found action */
|
||||
|
@ -213,14 +212,11 @@
|
|||
|
||||
|
||||
/* (2) Update the state file */
|
||||
var_dump('before : '.get_gstate());
|
||||
var_dump('towrite : '.$state);
|
||||
$written = @file_put_contents(STATE_CONF, $state);
|
||||
|
||||
/* (3) Manage error */
|
||||
if( $written === false )
|
||||
slog('cannot update STATE file', 'mfrc522:loop');
|
||||
var_dump('after : '.get_gstate());
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue