Merge branch '1.0-local' into 1.0
This commit is contained in:
commit
5653826429
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue