OK, for starters don't have ../index.php in the case statement, this won't work. The session table doesn't store the path, just the scriptname and anything after it, eg newreply.php?s=452hefjfebnk&action=newreply&thread id=1
Secondly, I know of no way to get it to work with a second index.php, it will identify it as the forums main index, what I did to get around this was have a index.php in my www root which was a standardredirect to the main site, which wasn't called index.php so it identified it correctly.
|