Subversion Repositories oidplus

Rev

Rev 594 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 594 Rev 605
Line 566... Line 566...
566
                // get the HTML output of the directory listing from the SVN server.
566
                // get the HTML output of the directory listing from the SVN server.
567
                // This is maybe a bit heavy since it makes another connection to the
567
                // This is maybe a bit heavy since it makes another connection to the
568
                // SVN server. Maybe add this as an option/parameter? ES 23/06/08
568
                // SVN server. Maybe add this as an option/parameter? ES 23/06/08
569
                $fileInfo = $this->getDirectoryTree($file, $version, false);
569
                $fileInfo = $this->getDirectoryTree($file, $version, false);
570
                if ($fileInfo["type"] == "directory") {
570
                if ($fileInfo["type"] == "directory") {
571
                        throw new OIDplusException(_L("File %1 is detected as directory. Cannot receive file contents.", $file));
571
                        throw new Exception(_L("File %1 is detected as directory. Cannot receive file contents.", $file));
572
                        //return false;
572
                        //return false;
573
                }
573
                }
574
 
574
 
575
                $args = array();
575
                $args = array();
576
                $url = $this->cleanURL($this->_url . "/!svn/bc/" . $version . "/" . $file . "/");
576
                $url = $this->cleanURL($this->_url . "/!svn/bc/" . $version . "/" . $file . "/");