From b008ef72151f22db0cfdc0f0bde62879e2ec82a2 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Mon, 17 Jul 2017 12:10:29 +0200 Subject: [PATCH] renamed ifmlib.php to libifm.php --- build/{ifmlib.php => libifm.php} | 1 + 1 file changed, 1 insertion(+) rename build/{ifmlib.php => libifm.php} (99%) diff --git a/build/ifmlib.php b/build/libifm.php similarity index 99% rename from build/ifmlib.php rename to build/libifm.php index 767c396..96906a3 100644 --- a/build/ifmlib.php +++ b/build/libifm.php @@ -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 {