edink Sat Aug 20 17:50:41 2005 EDT
Modified files: /livedocs mkindex.php Log: Don't rely on '.' being in the include_path http://cvs.php.net/diff.php/livedocs/mkindex.php?r1=1.45&r2=1.46&ty=u Index: livedocs/mkindex.php diff -u livedocs/mkindex.php:1.45 livedocs/mkindex.php:1.46 --- livedocs/mkindex.php:1.45 Mon Jun 20 22:51:39 2005 +++ livedocs/mkindex.php Sat Aug 20 17:50:38 2005 @@ -19,7 +19,7 @@ // | construct an index | // +----------------------------------------------------------------------+ // -// $Id: mkindex.php,v 1.45 2005/06/21 02:51:39 iliaa Exp $ +// $Id: mkindex.php,v 1.46 2005/08/20 21:50:38 edink Exp $ /* just to be on the safe side */ @@ -36,7 +36,7 @@ $TMPDIR = $argv[3]; $BUILDTYPE = $argv[4]; -require 'mk_' . $BUILDTYPE . '.php'; +require dirname(__FILE__) . '/mk_' . $BUILDTYPE . '.php'; function entity_replace($data) { global $replacements;