mirror of
https://github.com/misterunknown/ifm.git
synced 2025-08-09 17:46:31 +02:00
recommited change after merge
This commit is contained in:
@@ -2137,7 +2137,6 @@ 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 {
|
||||
|
12
compiler.php
12
compiler.php
@@ -14,7 +14,7 @@ $IFM_SRC_JS = "src/ifm.js";
|
||||
|
||||
$IFM_BUILD_STANDALONE = "ifm.php";
|
||||
$IFM_BUILD_STANDALONE_COMPRESSED = "ifm.min.php";
|
||||
$IFM_BUILD_LIB_PHP = "build/ifmlib.php";
|
||||
$IFM_BUILD_LIB_PHP = "build/libifm.php";
|
||||
|
||||
/**
|
||||
* Prepare main script
|
||||
@@ -42,11 +42,11 @@ foreach( $IFM_SRC_PHPFILES as $file ) {
|
||||
file_put_contents( $IFM_BUILD_STANDALONE, $main );
|
||||
file_put_contents( $IFM_BUILD_STANDALONE, $phpincludes, FILE_APPEND );
|
||||
file_put_contents( $IFM_BUILD_STANDALONE, '
|
||||
/**
|
||||
* start IFM
|
||||
*/
|
||||
$ifm = new IFM();
|
||||
$ifm->run();
|
||||
/**
|
||||
* start IFM
|
||||
*/
|
||||
$ifm = new IFM();
|
||||
$ifm->run();
|
||||
', FILE_APPEND );
|
||||
|
||||
/**
|
||||
|
BIN
ifm.min.php
BIN
ifm.min.php
Binary file not shown.
Reference in New Issue
Block a user