ok, try this:
open global.php
find:if (empty($PHP_SELF)) {
if (!empty($HTTP_SERVER_VARS['PATH_INFO'])) {
$PHP_SELF = $HTTP_SERVER_VARS['PATH_INFO'];
}
elseif (!empty($HTTP_SERVER_VARS['PHP_SELF'])) {
$PHP_SELF = $HTTP_SERVER_VARS["PHP_SELF"];
}
elseif (!empty($HTTP_ENV_VARS['PHP_SELF'])) {
$PHP_SELF = $HTTP_ENV_VARS["PHP_SELF"];
}
else {
$PHP_SELF = getenv("SCRIPT_NAME");
}
}
$self_url = basename($PHP_SELF);
if (empty($self_url) || !preg_match("/\.php$/", $self_url)) {
$self_url = "index.php";
}
add echo $self_url; after
$self_url = basename($PHP_SELF);
it should show on top-left corner of screen your current location.
dont worry about error messages, it's just a test.