summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2009-03-19 16:16:09 +0000
committerChristian Schneider2009-03-19 16:16:09 +0000
commitabacbf0fa99e8ee5d34d97505c6511715066cc27 (patch)
tree7ea80c550ccabbc24a07ec45db5591446d8fdbf7
parent191a6a6cba97707d22e2f66d341ea6e83bdf217f (diff)
downloaditools-abacbf0fa99e8ee5d34d97505c6511715066cc27.tar.gz
itools-abacbf0fa99e8ee5d34d97505c6511715066cc27.tar.bz2
itools-abacbf0fa99e8ee5d34d97505c6511715066cc27.zip
Added path to searchlib.js to itjs::filenames()
-rw-r--r--itjs.class7
1 files 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)