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