[PHP-DOC] cvs: phpdoc /scripts/rtlpatch hackmanuallang.php

2003-12-23 Thread Moriyoshi Koizumi
moriyoshi   Tue Dec 23 07:25:10 2003 EDT

  Modified files:  
/phpdoc/scripts/rtlpatchhackmanuallang.php 
  Log:
  Suppress warning about SCRIPT_FILENAME
  
  
Index: phpdoc/scripts/rtlpatch/hackmanuallang.php
diff -u phpdoc/scripts/rtlpatch/hackmanuallang.php:1.2 
phpdoc/scripts/rtlpatch/hackmanuallang.php:1.3
--- phpdoc/scripts/rtlpatch/hackmanuallang.php:1.2  Tue Jul 22 01:13:42 2003
+++ phpdoc/scripts/rtlpatch/hackmanuallang.php  Tue Dec 23 07:25:10 2003
@@ -16,7 +16,7 @@
   | Authors:Moshe Doron <[EMAIL PROTECTED]>|
   +---+
   
- $Id: hackmanuallang.php,v 1.2 2003/07/22 05:13:42 momo Exp $
+ $Id: hackmanuallang.php,v 1.3 2003/12/23 12:25:10 moriyoshi Exp $
 */
 
 /*
@@ -29,11 +29,7 @@
 */
 error_reporting(2047);
 // finding the real path of the needed files:
-$mypath = $_SERVER["SCRIPT_NAME"];
-$spos = strrpos($mypath,"/");
-if(!$spos) $spos = strrpos($mypath,"\\");
-$mypath = substr($mypath,0,$spos);
-if($mypath) $mypath.="/";
+$mypath = dirname(__FILE__)."/";
 
 $lang= $argv[1];
 
@@ -59,4 +55,4 @@
$shell = shell_exec($cmd);
//echo $shell;
 }
-?>
\ No newline at end of file
+?>


[PHP-DOC] cvs: phpdoc /scripts/rtlpatch hackmanuallang.php

2003-07-21 Thread Moshe Doron
momoTue Jul 22 01:13:42 2003 EDT

  Modified files:  
/phpdoc/scripts/rtlpatchhackmanuallang.php 
  Log:
  WS
  
Index: phpdoc/scripts/rtlpatch/hackmanuallang.php
diff -u phpdoc/scripts/rtlpatch/hackmanuallang.php:1.1 
phpdoc/scripts/rtlpatch/hackmanuallang.php:1.2
--- phpdoc/scripts/rtlpatch/hackmanuallang.php:1.1  Tue Jul 22 01:09:22 2003
+++ phpdoc/scripts/rtlpatch/hackmanuallang.php  Tue Jul 22 01:13:42 2003
@@ -1,22 +1,22 @@
 http://www.php.net/license/2_02.txt. |
-  | If uou did not receive a copy of the PHP license and are unable to   |
-  | obtain it through the world wide web, please send a note to  |
-  | [EMAIL PROTECTED] so we can mail you a copy immediately|
-  +--+
-  | Authors:Moshe Doron <[EMAIL PROTECTED]> |
-  +--+
+  +---+
+  | PHP Version 4 
 |
+  +---+
+  | Copyright (c) 1997-2003 The PHP Group  |
+  +---+
+  | This source file is subject to version 2.02 of the PHP licience,   |
+  | that is bundled with this package in the file LICENCE and is  |
+  | avalible through the world wide web at |
+  | http://www.php.net/license/2_02.txt.   |
+  | If uou did not receive a copy of the PHP license and are unable|
+  |  to obtain it through the world wide web, please send a note to |
+  | [EMAIL PROTECTED] so we can mail you a copy immediately   |
+  +---+
+  | Authors:Moshe Doron <[EMAIL PROTECTED]>|
+  +---+
   
- $Id: hackmanuallang.php,v 1.1 2003/07/22 05:09:22 momo Exp $
+ $Id: hackmanuallang.php,v 1.2 2003/07/22 05:13:42 momo Exp $
 */
 
 /*
@@ -24,9 +24,6 @@

This file is patch allow per language customize for not pulling the autobuild 
system all those condition
i making use this file to bypass some jade mysteries on the hebrew manual 
impossible build proccess
-   
-   this script have to be run befor the build proccess.
-   giving the docs path it's edit the files and add dir=rtl,ltr where needed

Usage: php scriptname lang-code
 */



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