Merge branch '1.0-local' into 1.0

This commit is contained in:
xdrm-brackets 2017-02-23 16:37:08 +01:00
commit 5653826429
1 changed files with 3 additions and 1 deletions

View File

@ -31,11 +31,13 @@
/* (2) Read first line */
$f_gstate->seek(0);
$state = $f_gstate->fgets();
$state = $f_gstate->current();
$state = preg_replace('@^\s+@', '', $state);
$state = preg_replace('@\s+$@', '', $state);
var_dump($state);
/* (3) Check data */
if( strlen($state) < 1 )
return false;