nlopess         Sun Apr 18 12:30:51 2004 EDT

  Modified files:              
    /livedocs   livedoc.php 
  Log:
  fixing (I hope) CVS problems with rexesp
  
http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.88&r2=1.89&ty=u
Index: livedocs/livedoc.php
diff -u livedocs/livedoc.php:1.88 livedocs/livedoc.php:1.89
--- livedocs/livedoc.php:1.88   Sun Apr 18 12:04:32 2004
+++ livedocs/livedoc.php        Sun Apr 18 12:30:50 2004
@@ -18,7 +18,7 @@
 // | Generate an HTML version of a phpdoc/docbook page on the fly         |
 // +----------------------------------------------------------------------+
 //
-// $Id: livedoc.php,v 1.88 2004/04/18 16:04:32 nlopess Exp $
+// $Id: livedoc.php,v 1.89 2004/04/18 16:30:50 nlopess Exp $
 
 define('LIVEDOC_SOURCE', dirname(__FILE__));
 include LIVEDOC_SOURCE . '/common.php';
@@ -123,7 +123,7 @@
 /* Checks if translated file is updated */
 if ($lang != 'en' && !isset($using_fallback)) {
 
-       if (preg_match('$Revision: 1.88 $', $file_revision, $matches)) {
+       if (preg_match('/Revision: \d+\.(\d+)/', $file_revision, $matches)) {
                $lang_rev = $matches[1];
        } else {
                $lang_rev = 0;

Reply via email to