public function run()
{
// Load all configuration files
$appRoot = $_SERVER['DOCUMENT_ROOT'] . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR;
foreach (glob($appRoot . 'config/*.php') as $file) {
$filename = basename($file, '.php');
$this->config[$filename] = (require_once $file);
}
}