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:
5
.gitattributes
vendored
5
.gitattributes
vendored
@@ -1,2 +1,3 @@
|
|||||||
ifm.php -diff
|
ifm.php -diff
|
||||||
build/* -diff
|
ifm.min.php -diff
|
||||||
|
build/* -diff
|
||||||
|
17
compiler.php
17
compiler.php
@@ -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
|
||||||
|
Reference in New Issue
Block a user