original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Load the local config file
  
  @return mixed string the local config file name. false if local config does not exist
docstring_tokens: Load the local config file