Merge branch '1.0-local' into 1.0
This commit is contained in:
commit
7f2ca0f9f1
|
@ -28,7 +28,6 @@
|
||||||
/* (4) Extract */
|
/* (4) Extract */
|
||||||
$GLOBAL_STATE = $f_gstate;
|
$GLOBAL_STATE = $f_gstate;
|
||||||
|
|
||||||
slog("Starting with state '{$GLOBAL_STATE}'", 'global-state:update');
|
|
||||||
|
|
||||||
/* [2] Cache global state to chip states
|
/* [2] Cache global state to chip states
|
||||||
=========================================================*/
|
=========================================================*/
|
||||||
|
|
|
@ -211,11 +211,13 @@
|
||||||
|
|
||||||
|
|
||||||
/* (2) Update the state file */
|
/* (2) Update the state file */
|
||||||
|
var_dump('before : '.get_gstate());
|
||||||
$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