didou           Mon Mar 29 06:12:44 2004 EDT

  Modified files:              
    /livedocs   mk_smarty.php 
  Log:
  last tunning for smarty docs
  # now smarty is running better then phpdoc on livedocs :)
  # http://didou.keliglia.com/php/livedocs-smarty/index.php?l=en&q=manual
  
http://cvs.php.net/diff.php/livedocs/mk_smarty.php?r1=1.2&r2=1.3&ty=u
Index: livedocs/mk_smarty.php
diff -u livedocs/mk_smarty.php:1.2 livedocs/mk_smarty.php:1.3
--- livedocs/mk_smarty.php:1.2  Sun Mar 28 13:17:17 2004
+++ livedocs/mk_smarty.php      Mon Mar 29 06:12:44 2004
@@ -18,7 +18,7 @@
 // | Configuration file for peardoc build                                 |
 // +----------------------------------------------------------------------+
 //
-// $Id: mk_smarty.php,v 1.2 2004/03/28 18:17:17 didou Exp $
+// $Id: mk_smarty.php,v 1.3 2004/03/29 11:12:44 didou Exp $
 
 define('MK_VERSION', false);
 
@@ -41,7 +41,7 @@
         }
         switch (filetype($path . '/' .  $f)) {
             case 'file':
-                $docbook_id = substr($f, 0, -4);
+                $docbook_id = str_replace('-', '.', substr($f, 0, -4));
 
                 if (isset($toca[$docbook_id])) {
                     $id = $toca[$docbook_id];

Reply via email to