Description
- Loading of config files is now done with an absolute path which is quicker in php
- better exception message if config key not found
Index: php/src/common/Config.php
===================================================================
35c35
< include_once 'config/container.php';
—
> include_once realpath(dirname(_FILE_) . "/../../config") . '/container.php';
37c37
< $localConfigPath = realpath(dirname(_FILE_) . "/../../config/local.php");
—
> $localConfigPath = realpath(dirname(_FILE_) . "/../../config") . '/local.php';
64c64
< throw new ConfigException("Invalid Config Key");
—
> throw new ConfigException("Invalid Config Key " . $key);