cvs: phpweb /include manual-lookup.inc

From: Date: Tue, 13 May 2003 21:41:43 +0000
Subject: cvs: phpweb /include manual-lookup.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-17563@lists.php.net to get a copy of this message
wez Tue May 13 17:41:43 2003 EDT Modified files: /phpweb/include manual-lookup.inc Log: Fully qualified path... as this is included from more than one place... Index: phpweb/include/manual-lookup.inc diff -u phpweb/include/manual-lookup.inc:1.17 phpweb/include/manual-lookup.inc:1.18 --- phpweb/include/manual-lookup.inc:1.17 Tue May 13 17:10:30 2003 +++ phpweb/include/manual-lookup.inc Tue May 13 17:41:43 2003 @@ -1,6 +1,6 @@ <?php // -*- C++ -*- -// $Id: manual-lookup.inc,v 1.17 2003/05/13 21:10:30 wez Exp $ +// $Id: manual-lookup.inc,v 1.18 2003/05/13 21:41:43 wez Exp $ // Try to find some variations of keyword with $prefix in the $lang manual function tryprefix($lang, $keyword, $prefix) @@ -73,7 +73,7 @@ function find_manual_page($lang, $keyword) { - if (!function_exists("sqlite_popen") || !($s = sqlite_popen('manual-lookup.sqlite'))) { + if (!function_exists("sqlite_popen") || !($s = sqlite_popen(dirname(__FILE__) . '/manual-lookup.sqlite'))) { return find_manual_page_slow($lang, $keyword); }

« previous php.mirrors (#17563) next »