_getOverrideFile($file)) { $original = $conf; include($override_file); $conf = array_merge($original, $conf); } parent :: __construct($conf); } protected function _getOverrideFile($file_path) { $file_name = substr($file_path, 0, strpos($file_path, '.php')); $override_file_name = $file_name . '.override.php'; if(file_exists($override_file_name)) return $override_file_name; else return false; } } ?>