show calling function in db query log notices and put the calling file and caller into the sql we execute. added a config option to show the full call-chain instead of the immediate caller.
moved the startup logging to lib_log
$_SERVER[SCRIPT_NAME] is better than $_SERVER[PHP_SELF], since it more reliably points to the actual script.
see http://php.about.com/od/learnphp/qt/_SERVER_PHP.htm for a depressing comparison.
aha, so that's what happens when you `git add` before completing your edits
this gets run in a function context, so needs to use globals
I guess this line never did anything. Weird. http://www.php.net/manual/en/ini.core.php#ini.short-open-tag
PHP is not Perl - this does not work