Skip to content
Snippets Groups Projects
Commit 33b27be7 authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

evo: install semaphore

parent def7a2c1
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,10 @@ $core = new core_tools(); ...@@ -36,6 +36,10 @@ $core = new core_tools();
$_SESSION['custom_override_id'] = $core->get_custom_id(); $_SESSION['custom_override_id'] = $core->get_custom_id();
/**** retrieve HTTP_REQUEST FROM SSO ****/ /**** retrieve HTTP_REQUEST FROM SSO ****/
$_SESSION['HTTP_REQUEST'] = $_REQUEST; $_SESSION['HTTP_REQUEST'] = $_REQUEST;
if (!file_exists('installed.lck')) {
header('location: install/index.php');
exit;
}
if(isset($_GET['origin']) && $_GET['origin'] == 'scan') if(isset($_GET['origin']) && $_GET['origin'] == 'scan')
{ {
header('location: apps/'.$_SESSION['businessapps'][0]['appid'].'/reopen.php'); header('location: apps/'.$_SESSION['businessapps'][0]['appid'].'/reopen.php');
......
<?php <?php
include_once '../core/init.php'; include_once '../core/init.php';
//write semaphore installed.lck
$inF = fopen('installed.lck','w');
fclose($inF);
unset($_SESSION); unset($_SESSION);
$_SESSION = array(); $_SESSION = array();
session_unset(); session_unset();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment