]> source.dussan.org Git - nextcloud-server.git/commitdiff
quick fixing this require_once.
authorThomas Mueller <thomas.mueller@tmit.eu>
Thu, 24 Jan 2013 15:56:23 +0000 (16:56 +0100)
committerBart Visscher <bartv@thisnet.nl>
Fri, 8 Feb 2013 14:23:07 +0000 (15:23 +0100)
On windows the wrong file will be required: lib/archive/tar.php and not Archive/Tar.php.

Best would be to rename the lib/archive/tar.php or put it into a different folder

lib/archive/tar.php

index 117d88e5f42f0a6e550e05e00979bff9609a299a..e7c81389619a8f2d00cb94aea7cb3b275895cb46 100644 (file)
@@ -6,7 +6,7 @@
  * See the COPYING-README file.
  */
 
-require_once 'Archive/Tar.php';
+require_once OC::$THIRDPARTYROOT . '/3rdparty/Archive/Tar.php';
 
 class OC_Archive_TAR extends OC_Archive{
        const PLAIN=0;