Code from 2.6.1 index.php seems to work when replaced into 2.6.5 but I do not know what improvements or other issues this code will have in newer versions from 2.6.1.
2.6.1 index.php code:
- Code: Select all
} elseif (($_GET['menu_no_top']=="hr") && $arrRights['view']) {
$reqCode = isset($_GET['reqcode']) ? $_GET['reqcode'] : 'EMP';
$home = "./lib/controllers/CentralController.php?reqcode={$reqCode}&VIEW=MAIN&sortField=0&sortOrder0=ASC";
if (isset($_GET['uri'])) {
$home = $_GET['uri'];
} elseif (isset($_GET['id'])) {
$home .= "&id={$_GET['id']}&capturemode=updatemode";
} else {
$home .= "&VIEW=MAIN";
}
2.6.2 code that has been replaced:
- Code: Select all
} elseif (($_GET['menu_no_top']=="hr") && $arrRights['view']) {
//$reqCode = isset($_GET['reqcode']) ? $_GET['reqcode'] : 'EMP';
$home = "./symfony/web/index.php/pim/viewEmployeeList";
if (isset($_GET['uri'])) {
$home = $_GET['uri'];
} elseif (isset($_GET['id'])) {
$home = "./symfony/web/index.php/pim/viewPersonalDetails?empNumber=" . $_GET['id'];
}
I have not done any work to see what is wrong with 2.6.7 through 2.6.10, but I find it incredible if this is specific to my setup as the LINUX system is a standard LAMP implementation based on Centos5.5 and the Windows PC client is pretty standard as well.
