diff options
author | Tom N Harris <tnharris@whoopdedo.org> | 2008-02-26 01:52:22 +0100 |
---|---|---|
committer | Tom N Harris <tnharris@whoopdedo.org> | 2008-02-26 01:52:22 +0100 |
commit | 097423136c1b9be70f77630781b522863f715436 (patch) | |
tree | aea0000846320a30ab6a5b9c16abd5e62e8a8192 /inc/ZipLib.class.php | |
parent | 33a148e0f7688489ba9900abb450364586a68cdb (diff) | |
download | rpg-097423136c1b9be70f77630781b522863f715436.tar.gz rpg-097423136c1b9be70f77630781b522863f715436.tar.bz2 |
Don't depend on plugin for Zip/TarLib
darcs-hash:20080226005222-6942e-20808aa2678aec95a22c93fce81c1f822975493d.gz
Diffstat (limited to 'inc/ZipLib.class.php')
-rw-r--r-- | inc/ZipLib.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/ZipLib.class.php b/inc/ZipLib.class.php index 84164dd4a..cb1a26e75 100644 --- a/inc/ZipLib.class.php +++ b/inc/ZipLib.class.php @@ -140,7 +140,7 @@ class ZipLib function Extract ( $zn, $to, $index = Array(-1) ) { - if(!@is_dir($to)) @mkdir($to,0777); + if(!@is_dir($to)) $this->_mkdir($to); $ok = 0; $zip = @fopen($zn,'rb'); if(!$zip) return(-1); $cdir = $this->ReadCentralDir($zip,$zn); @@ -346,7 +346,7 @@ class ZipLib //--CS start // centralize mkdir calls and use dokuwiki io functions function _mkdir($d) { - return ap_mkdir($d); + return io_mkdir_p($d); } //--CS end |