You can clone with
HTTPS or Subversion.
We recently had a production issue where the loadConfigFile method in IronCore checks file_exists on the given config file. At the top of this method you should probably check:
if ( ! ini_get('open_basedir')) return;
So that you don't have any open_basedir errors on installations that do not have that directive set.
#2 load config in safe way
Is this what you looking for? If all ok, i will regenerate all .phar files
If you do it like that I think you need to remove the "!" so that you only call those methods if the ini_get returns true.
well, as far as i know, ini_get('open_basedir') never return true. Empty string (eqal to false) - if there are no restrictions, and list of allowed directories otherwise
Hmm, maybe just cast it bool then?
it is, already. empty string == false, string with text == true
It means if ini_get('open_basedir') == true then open_basedir restrictions in active state
E.g. on my home pc ini_get('open_basedir') always return empty string. Which means no restrictions were applied and script able to get file located in home directory