momo            Thu Jul 31 01:34:58 2003 EDT

  Modified files:              
    /phpdoc/scripts/rtlpatch    rtlpatch.php 
  Log:
  fix for phpweb
  
Index: phpdoc/scripts/rtlpatch/rtlpatch.php
diff -u phpdoc/scripts/rtlpatch/rtlpatch.php:1.6 
phpdoc/scripts/rtlpatch/rtlpatch.php:1.7
--- phpdoc/scripts/rtlpatch/rtlpatch.php:1.6    Thu May 29 08:33:20 2003
+++ phpdoc/scripts/rtlpatch/rtlpatch.php        Thu Jul 31 01:34:58 2003
@@ -16,7 +16,7 @@
   | Authors:    Moshe Doron <[EMAIL PROTECTED]>                                 |
   +----------------------------------------------------------------------+
   
- $Id: rtlpatch.php,v 1.6 2003/05/29 12:33:20 momo Exp $
+ $Id: rtlpatch.php,v 1.7 2003/07/31 05:34:58 momo Exp $
 */
 
 /*
@@ -35,7 +35,7 @@
        script runing time on my box is about 15% then the build time, not so big 
deal, that'll force me rewrite the parser in C ;)
 
 */
-
+//die("\n\n!! remove me later (".__FILE__.":".__LINE__."\n\n");
 error_reporting(2047);
 // finding the real path of the needed files:
 $mypath = $_SERVER["SCRIPT_NAME"];
@@ -124,7 +124,7 @@
                mysyslog("$file doesn't exists or have no write permission");
                return false;
        }
-       fwrite($f,$text);
+       fwrite($f,trim($text));
        fclose($f);
 //die("\n---".__LINE__."---".__FILE__);
        return true;



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to