• posted 2½ years ago

    php.ini error_log directive: finally fixed my code to make it work

    phpI always ran into an issue whereby if i set the error_log location for an application/server using ini_set('error_log','PATH') it wouldn't log it there. It would log it to whatever path was set in my httpd.conf file, whether it was the global error_log path, or one for a specific virtual host.
    read
    • posted 2½ years ago

    Framework: S^3 (aka S cubed): I'm calling it Smart Setting Selection

    558px-Selection.svgIn working on a custom framework (that's uniting a lot of the best of the existing ones, but keeping it lean and cutting out what I don't need), I ran into a configuration roadblock which caused me to write some nifty code.

    Basically, this framework has a bunch of settings/config files, and some of the files (ini format, using parse_ini_file) are seperated by the following keywords:
    local,development,staging,production
    read