From 1a86f3447c851d62694d5154d2e4389097db8195 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Mon, 26 Mar 2018 18:06:59 +0200 Subject: [PATCH] Updated Contributing (markdown) --- Contributing.md | 42 +++++++++++++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 7 deletions(-) diff --git a/Contributing.md b/Contributing.md index 16ba601..2d657f1 100644 --- a/Contributing.md +++ b/Contributing.md @@ -1,19 +1,47 @@ -# introduction +## introduction The source code of the IFM is a bit different from other projects you might know. Historically I developed it literally in one single file. As this became very confusing, I splitted the parts up into the `src` directory and searched for a nice way to compile it into a single file in the end. Other single-file script solutions, like [Adminer](https://github.com/vrana/adminer), use custom compilers for their scripts, so I decided to do it in a similar way. ## compiler -The compiler script is written in PHP and does essentialy three things: -* replace the includes with actual file content +The compiler script is written in PHP and assembles all the source files into one single script. The following tasks are part of the process: * concat PHP files while removing the first line (`' + . gzencode( file_get_contents( "ifm.php", false, null, 5 ) ) +); +*/ +``` +Why isn't this enabled by default? Simply because there are very few use cases and no one wants to execute code which he cannot inspect. +