Dbug
This commit is contained in:
parent
fbc25483eb
commit
04f52a5e04
|
@ -82,8 +82,6 @@
|
|||
if( is_null($GLOBALS['TOKEN']) )
|
||||
return false;
|
||||
|
||||
echo 'a';
|
||||
|
||||
/* [2] Vérification du système
|
||||
=========================================================*/
|
||||
/* (1) Fetch cyclic-hashing-system -> check file */
|
||||
|
@ -91,14 +89,13 @@
|
|||
|
||||
if( !is_file($fn) )
|
||||
return false;
|
||||
echo 'b';
|
||||
|
||||
/* (2) Read file -> check content */
|
||||
$fc = file_get_contents($fn);
|
||||
$fc = trim( file_get_contents($fn) );
|
||||
|
||||
if( strlen($fc) !== 64 )
|
||||
return false;
|
||||
echo 'c';
|
||||
echo 'XXX';
|
||||
|
||||
/* [3] Hash comparison
|
||||
=========================================================*/
|
||||
|
|
Loading…
Reference in New Issue