protected function loadConfigFile($file)
    {
        $path = $this->getConfigPath() . '/' . $file;

        if (file_exists($path)) {
            $config = include $path;
            return is_array($config) ? $config : null;
        }

        return null;
    }
protected function loadConfigFile($file)
    {
        $path = $this->getConfigPath() . '/' . $file;

        if (file_exists($path)) {
            $config = include $path;
            return is_array($config) ? $config : null;
        }

        return null;
    }
protected function loadConfigFile ( $ file ) { $ path = $ this -> getConfigPath ( ) . '/' . $ file ; if ( file_exists ( $ path ) ) { $ config = include $ path ; return is_array ( $ config ) ? $ config : null ; } return null ; }
Load a config file from the config directory.

@param  string     $file Filename
@return array|null       Array config or null if not found
Load a config file from the config directory .