public function loadLocalConfig()
    {
        $home_folder = getenv('HOME') ?: getenv('HOMEDRIVE') . getenv('HOMEPATH');
        $local_config_file = $home_folder . '/.grav/config';

        if (file_exists($local_config_file)) {
            $file = YamlFile::instance($local_config_file);
            $this->local_config = $file->content();
            $file->free();
            return $local_config_file;
        }

        return false;
    }
public function loadLocalConfig()
    {
        $home_folder = getenv('HOME') ?: getenv('HOMEDRIVE') . getenv('HOMEPATH');
        $local_config_file = $home_folder . '/.grav/config';

        if (file_exists($local_config_file)) {
            $file = YamlFile::instance($local_config_file);
            $this->local_config = $file->content();
            $file->free();
            return $local_config_file;
        }

        return false;
    }
public function loadLocalConfig ( ) { $ home_folder = getenv ( 'HOME' ) ? : getenv ( 'HOMEDRIVE' ) . getenv ( 'HOMEPATH' ) ; $ local_config_file = $ home_folder . '/.grav/config' ; if ( file_exists ( $ local_config_file ) ) { $ file = YamlFile :: instance ( $ local_config_file ) ; $ this -> local_config = $ file -> content ( ) ; $ file -> free ( ) ; return $ local_config_file ; } return false ; }
Load the local config file

@return mixed string the local config file name. false if local config does not exist
Load the local config file