1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-10 18:14:00 +02:00

fixed merge conflicts

This commit is contained in:
Marco Dickert
2017-07-18 13:34:29 +02:00
parent 1171346cbe
commit fcc9108beb
3 changed files with 19 additions and 13 deletions

5
.gitattributes vendored
View File

@@ -1,2 +1,3 @@
ifm.php -diff ifm.php -diff
build/* -diff ifm.min.php -diff
build/* -diff

View File

@@ -13,6 +13,7 @@ $IFM_SRC_PHPFILES = array( "src/ifmzip.php" );
$IFM_SRC_JS = "src/ifm.js"; $IFM_SRC_JS = "src/ifm.js";
$IFM_BUILD_STANDALONE = "ifm.php"; $IFM_BUILD_STANDALONE = "ifm.php";
$IFM_BUILD_STANDALONE_COMPRESSED = "ifm.min.php";
$IFM_BUILD_LIB_PHP = "build/ifmlib.php"; $IFM_BUILD_LIB_PHP = "build/ifmlib.php";
/** /**
@@ -40,14 +41,18 @@ foreach( $IFM_SRC_PHPFILES as $file ) {
*/ */
file_put_contents( $IFM_BUILD_STANDALONE, $main ); file_put_contents( $IFM_BUILD_STANDALONE, $main );
file_put_contents( $IFM_BUILD_STANDALONE, $phpincludes, FILE_APPEND ); file_put_contents( $IFM_BUILD_STANDALONE, $phpincludes, FILE_APPEND );
file_put_contents( $IFM_BUILD_STANDALONE, file_put_contents( $IFM_BUILD_STANDALONE, '
' /**
* start IFM
*/
$ifm = new IFM();
$ifm->run();
', FILE_APPEND );
/** /**
* start IFM * Build compressed standalone script
*/ */
$ifm = new IFM(); file_put_contents( $IFM_BUILD_STANDALONE_COMPRESSED, '<?php eval( gzdecode( file_get_contents( __FILE__, false, null, 85 ) ) ); exit(0); ?>' . gzencode( file_get_contents( "ifm.php", false, null, 5 ) ) );
$ifm->run();'
, FILE_APPEND );
/** /**
* Build library * Build library

10
ifm.php
View File

@@ -2837,8 +2837,8 @@ class IFMZip {
} }
} }
/** /**
* start IFM * start IFM
*/ */
$ifm = new IFM(); $ifm = new IFM();
$ifm->run(); $ifm->run();