function open() { $result=FALSE; //Slash am Ende erzwingen $this->path=string_add($this->path,"/"); //Als allererstes laden wir die Konfiguration des Repositories, um an die //User und Gruppendateien zu kommen $config=new ini(); $config->autoconvert=FALSE; if ($config->open($this->path."conf/svnserve.conf")) { //Die Zugriffsmodi lesen $this->anon_access =$config->read_value("general","anon-access","?"); $this->auth_access =$config->read_value("general","auth-access","?"); $this->passfile =$config->read_value("general","password-db","?"); $this->groupfile =$config->read_value("general","authz-db","?"); //Evtl. Traversen rausnehmen $this->passfile =realpath($this->path."conf/".$this->passfile); $this->groupfile =realpath($this->path."conf/".$this->groupfile); //Auf Unixformat bringen $this->passfile =str_replace("\\","/",$this->passfile); $this->groupfile=str_replace("\\","/",$this->groupfile); $this->_loaduser($this->passfile); $this->_loadgroups($this->groupfile); $result=TRUE; } $config->destroy(); return ($result); }