4938 Posts in 16588 Topics by 1490 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|