[www] r1002 - in trunk/svn.matroska.org/WebSVN: . include

[email protected] Fri, 26 Aug 2005 17:43:46 +0400 (MSD)
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: robux4
Date: 2005-08-26 17:43:41 +0400 (Fri, 26 Aug 2005)
New Revision: 1002

Modified:
   trunk/svn.matroska.org/WebSVN/dl.php
   trunk/svn.matroska.org/WebSVN/include/config.inc
Log:
WebSVN: use rmdir() where due...

Modified: trunk/svn.matroska.org/WebSVN/dl.php
===================================================================
--- trunk/svn.matroska.org/WebSVN/dl.php	2005-08-26 13:28:14 UTC (rev 1001)
+++ trunk/svn.matroska.org/WebSVN/dl.php	2005-08-26 13:43:41 UTC (rev 1002)
@@ -85,7 +85,10 @@
    }
    
    fclose($fp);
-   
+
+   rmdir($tmpname);
+
+/* robUx4 -
    chdir("..");
 
    // Delete the directory.  Why doesn't PHP have a generic recursive directory
@@ -101,5 +104,6 @@
    }
    
    @exec($cmd);
+*/
 }
 ?>
\ No newline at end of file

Modified: trunk/svn.matroska.org/WebSVN/include/config.inc
===================================================================
--- trunk/svn.matroska.org/WebSVN/include/config.inc	2005-08-26 13:28:14 UTC (rev 1001)
+++ trunk/svn.matroska.org/WebSVN/include/config.inc	2005-08-26 13:43:41 UTC (rev 1002)
@@ -246,6 +246,6 @@
 // $config->findRepository("myrep")->expandTabsBy(3); // Expand Tabs by 3 for repository 'myrep'
 
 // -- robUx4 added --
-$config->setTempPath("/tmp/websvn/");
+$config->setTempPath("/tmp/websvn");
 
 ?>