kennyt Wed Jan 21 10:38:47 2004 EDT
Modified files: /livedocs livedoc.php Log:
PHP was getting confused about which include directory to use.
http://cvs.php.net/diff.php/livedocs/livedoc.php?r1=1.73&r2=1.74&ty=u
Index: livedocs/livedoc.php
diff -u livedocs/livedoc.php:1.73 livedocs/livedoc.php:1.74
--- livedocs/livedoc.php:1.73 Sat Jan 17 06:32:28 2004
+++ livedocs/livedoc.php Wed Jan 21 10:38:46 2004
@@ -18,11 +18,12 @@
// | Generate an HTML version of a phpdoc/docbook page on the fly |
// +----------------------------------------------------------------------+
//
-// $Id: livedoc.php,v 1.73 2004/01/17 11:32:28 nlopess Exp $
+// $Id: livedoc.php,v 1.74 2004/01/21 15:38:46 kennyt Exp $
-include './common.php';
-include './xml_classes.php';
-include './style_mapping.php';
+define('LIVEDOC_SOURCE', dirname(__FILE__));
+include LIVEDOC_SOURCE.'/common.php';
+include LIVEDOC_SOURCE.'/xml_classes.php';
+include LIVEDOC_SOURCE.'/style_mapping.php';
Can you please respect the CS here too ? :) (LIVEDOC_SOURCE[space].[space]'/file.php');
Also, there's another include (error.php), you didn't change it.
It will be great to discuss those kind of modifications before commiting...
didou