mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-02 23:03:59 +01:00
Only start a session if we haven't yet got a session object (Avoids warnings from PHP) Define our settingsFile, used in many places now serverRoot gone, no longer needed (this is now docRoot) Specify versionNo, codeMirrorDir & cMThisVer here now (This means we don't overwrite users config settings each time we change version no and they pull from Github, overwriting all their settings) These 3 vars prefixed to the ICEcoder settings array settingsNew now created from array & for loop, much simpler Same for 4 session vars, created in similar way docRoot & iceRoot now defined here (As settings.php is loaded by just about every PHP file, they are now available everywhere) These, plus user level, security vars, IP address code moved to all be together settingsContents 1 & 2 now just settingsContents saved files in previousFiles & last10Files now docRoot prefixed, making them full paths to files Clearer wording & other minor tweaks
13 KiB
13 KiB