Updated functions.php from work in Mother Brain

Changes include setting ini include path, adding support for PHP version, and load() taking an argument array instead of single argument.