From 3640b481d704a6b653c29541d159d5ce8079d327 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Sat, 18 Jul 2020 19:07:24 +0200 Subject: [PATCH] Remove 'simple' prefix for normal builds Signed-off-by: Marco Dickert --- compiler.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler.php b/compiler.php index 58df3ab..1ea03e8 100755 --- a/compiler.php +++ b/compiler.php @@ -105,8 +105,8 @@ if (!is_dir(IFM_RELEASE_DIR)){ } // build standalone ifm -file_put_contents( IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : 'simple.') . IFM_STANDALONE, $compiled ); -file_put_contents( IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : 'simple.') . IFM_STANDALONE, ' +file_put_contents( IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : '') . IFM_STANDALONE, $compiled ); +file_put_contents( IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : '') . IFM_STANDALONE, ' /** * start IFM */ @@ -116,9 +116,9 @@ $ifm->run(); // build compressed ifm file_put_contents( - IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : 'simple.') . IFM_STANDALONE_GZ, + IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : '') . IFM_STANDALONE_GZ, '' - . gzencode( file_get_contents( IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : 'simple.') .IFM_STANDALONE, false, null, 5 ) ) + . gzencode( file_get_contents( IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : '') .IFM_STANDALONE, false, null, 5 ) ) ); // build lib -file_put_contents( IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : 'simple.') . IFM_LIB, $compiled ); +file_put_contents( IFM_RELEASE_DIR . (IFM_CDN ? 'cdn.' : '') . IFM_LIB, $compiled );