mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-10 10:04:01 +02:00
renamed ifmlib.php to libifm.php
This commit is contained in:
@@ -2137,6 +2137,7 @@ function IFM( params ) {
|
||||
break;
|
||||
case "file":
|
||||
if( @file_exists( $srcopt ) && @is_readable( $srcopt ) ) {
|
||||
$lines = file( $srcopt );
|
||||
list( $uname, $hash ) = explode( ":", fgets( fopen( $srcopt, 'r' ) ) );
|
||||
return password_verify( $pass, trim( $hash ) ) ? ( $uname == $user ) : false;
|
||||
} else {
|
Reference in New Issue
Block a user