]> git.pld-linux.org Git - packages/dokuwiki-plugin-odt.git/blob - dokuwiki-ziplib.patch
- up to 20110616 snap, allows customizing template via config or via odt-template...
[packages/dokuwiki-plugin-odt.git] / dokuwiki-ziplib.patch
1 --- odt/renderer.php~   2009-07-02 21:19:54.000000000 +0300
2 +++ odt/renderer.php    2009-08-29 23:15:39.131348492 +0300
3 @@ -10,17 +10,7 @@
4  if(!defined('DOKU_INC')) die();
5  
6  require_once DOKU_INC.'inc/parser/renderer.php';
7 -
8 -// ZipLib.class.php
9 -$dw_version = preg_replace('/[^\d]/', '', getversion());
10 -if (version_compare($dw_version, "20070626") and 
11 -    version_compare(PHP_VERSION,'5.0.0','>')) {
12 -    // If strictly newer than 2007-06-26 and use PHP5, fixes to ZipLib are
13 -    // included in Dokuwiki's ZipLib
14 -    require_once DOKU_INC.'inc/ZipLib.class.php';
15 -} else { // for DW up to 2007-06-26, we need the patched version
16 -    require_once 'ZipLib.class.php';
17 -}
18 +require_once DOKU_INC.'inc/ZipLib.class.php';
19  
20  /**
21   * The Renderer
This page took 1.669501 seconds and 3 git commands to generate.