/**
  * Get a list of repository names.
  *
  */
 public static function getRepositoryList()
 {
     // read the lizmap configuration file
     $readConfigPath = parse_ini_file(jApp::varPath() . self::$lizmapConfig, True);
     $repositoryList = array();
     foreach ($readConfigPath as $section => $data) {
         $match = preg_match('#(^repository:)#', $section, $matches);
         if (isset($matches[0])) {
             $repositoryList[] = str_replace($matches[0], '', $section);
         }
     }
     self::$repositories = $repositoryList;
     return self::$repositories;
 }