4895 Posts in 7193 Topics by 1472 members
|Go to End|
1 December 2009 at 4:53am
I had to deal whit a hosting that (amongst other stuff) didn't expose the mentioned variable.
Simply put this code at the begining of sapphire/main.php
$_SERVER['SCRIPT_FILENAME'] = $_SERVER['DOCUMENT_ROOT'] . $_SERVER['SCRIPT_NAME'];
At least that did the trick for me this time.
Hope this helps someone.
|Go to Top|