1
0
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:
Marco Dickert
2017-07-17 12:10:29 +02:00
parent b5f3ed3e2e
commit b008ef7215

View File

@@ -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 {