mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 16:22:20 +02:00
N°3985 - Performance checks on the back end
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
*/
|
||||
|
||||
use Combodo\iTop\Application\Helper\Session;
|
||||
|
||||
require_once('../approot.inc.php');
|
||||
|
||||
// Needed to read the parameters (with sanitization)
|
||||
@@ -41,10 +43,9 @@ if ($sPage == '')
|
||||
}
|
||||
$sPage = basename($sPage); // protect against ../.. ...
|
||||
|
||||
session_name('itop-'.md5(APPROOT));
|
||||
session_start();
|
||||
Session::Start();
|
||||
$sEnvironment = utils::ReadParam('exec_env', utils::GetCurrentEnvironment());
|
||||
session_write_close();
|
||||
Session::WriteClose();
|
||||
|
||||
$sTargetPage = APPROOT.'env-'.$sEnvironment.'/'.$sModule.'/'.$sPage;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user