From abacbf0fa99e8ee5d34d97505c6511715066cc27 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Thu, 19 Mar 2009 16:16:09 +0000 Subject: Added path to searchlib.js to itjs::filenames() --- itjs.class | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/itjs.class b/itjs.class index 2d9e764..238b849 100644 --- a/itjs.class +++ b/itjs.class @@ -111,14 +111,15 @@ function filenames($filelist) $result = array(); $path = $GLOBALS['ULTRAHOME'] . "/itjs"; $itjs = "/www/server/phpinclude/itools/itjs"; - $searchlib = "/www/lib.search.ch/doc"; + $libsearch = "/www/lib.search.ch"; $special = array( "itools" => "$itjs/it.js,$itjs/http.js,$itjs/loader.js,$itjs/state.js,$itjs/timer.js", "boot.js" => "$itjs/boot.js", "state.html" => "$itjs/state.html", "error.gif" => "$itjs/error.gif", - "search.css" => "$searchlib/search.css", - "prettyprint.css" => "$searchlib/prettyprint.css", + "search.css" => "$libsearch/doc/search.css", + "searchlib.js" => "$libsearch/itjs/searchlib.js", + "prettyprint.css" => "$libsearch/doc/prettyprint.css", ); foreach (array_filter(explode(",", it::replace(array('\?.*' => ""), $filelist))) as $file) -- cgit v1.2.3