Posted by Arjen on 04/27/06 14:18
Danny Boy wrote:
> Hi,
>
> I am using an excellent script for indexing the content in directories.
> It's called "snif" and is found here:
> http://www.bitfolge.de/snif-en.html (just one file, but so extensive I
> can't copy it here).
Pls link to the source code
> So I wonder if there's a way to point the script to another directory
> than the one where it's residing.
After taking a really quick look I found this:
$baseDirname = $snifServer.htmlentities(dirname($_SERVER["PHP_SELF"]));
Replace it with onother value.
$baseDirname = $snifServer.$yourdir;
Also any other occurences of $_SERVER["PHP_SELF"]) should be altered
into a predefined var (where the server should think you are).
Arjen
Navigation:
[Reply to this message]
|