Re: [Semanticscuttle-devel] Privatekey / Opensearch problem / Configurable privacy
Brought to you by:
cweiske
|
From: Christian W. <cw...@cw...> - 2011-02-20 13:56:54
|
Hi Golanor,
> yes, that fixed it.
Great.
> I think I found an error..In the opensearch.php there is a reference
> to "$GLOBALS['root']", which I have no idea where it was defined (not
> in config.php).
> Did you all install SemanticScuttle on a root directory or in a
> different folder?
> I installed it in a folder, and when I try to search using
> opensearch, it tries searching in the root of the server, i.e:
> instead of
> http://localhost/sc/search.php/all/google%20homepage
> it goes to
> http://localhost/search.php/all/google+homepage
> Did I simply forget to define it, or is it really not defined
> anywhere?
cweiske:~/Dev/semanticscuttle/cwdev> grep -r "'root'" .
src/SemanticScuttle/constants.php
14:if (!isset($GLOBALS['root'])) {
30: define('ROOT', $GLOBALS['root']);
data/config.php
60: 'username' => 'root',
www/api/opensearch.php
15: <Url type="text/html" template="http://<?php echo
$_SERVER['HTTP_HOST'] . '/' .
$GLOBALS['root']?>search.php/all/{searchTerms}"/>
You may define $GLOBALS['root'] as described in data/config.default.php
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
|