public function read($path)
    {
        $config = $this
            ->readByFilename(
                $path,
                Visithor::CONFIG_FILE_NAME_DISTR
            );

        if (false === $config) {
            $config = $this
                ->readByFilename(
                    $path,
                    Visithor::CONFIG_FILE_NAME
                );
        }

        return $config;
    }
public function read($path)
    {
        $config = $this
            ->readByFilename(
                $path,
                Visithor::CONFIG_FILE_NAME_DISTR
            );

        if (false === $config) {
            $config = $this
                ->readByFilename(
                    $path,
                    Visithor::CONFIG_FILE_NAME
                );
        }

        return $config;
    }
public function read ( $ path ) { $ config = $ this -> readByFilename ( $ path , Visithor :: CONFIG_FILE_NAME_DISTR ) ; if ( false === $ config ) { $ config = $ this -> readByFilename ( $ path , Visithor :: CONFIG_FILE_NAME ) ; } return $ config ; }
Read all the configuration given a path

@param string $path Path

@return array|false Configuration loaded or false if file not exists
Read all the configuration given a path