. */ /** * @brief Maarch root file * * @file * @author Laurent Giovannoni * @date $date$ * @version $Revision$ * @ingroup core */ require_once('core/class/class_functions.php'); include_once('core/init.php'); require_once('core/class/class_core_tools.php'); $func = new functions(); $core = new core_tools(); $_SESSION['custom_override_id'] = $core->get_custom_id(); /**** retrieve HTTP_REQUEST FROM SSO ****/ $_SESSION['HTTP_REQUEST'] = $_REQUEST; if (!file_exists('installed.lck') && is_dir('install')) { header('location: install/index.php'); exit; } if (isset($_GET['origin']) && $_GET['origin'] == 'scan') { header('location: apps/'.$_SESSION['businessapps'][0]['appid'].'/reopen.php'); } else { $_SESSION['config']['app_id'] = $_SESSION['businessapps'][0]['appid']; /*header('location: apps/'.$_SESSION['config']['app_id'] . '/index.php?display=true&page=login&coreurl=' . $_SESSION['config']['coreurl']);*/ header('location: apps/'.$_SESSION['config']['app_id'] . '/index.php?display=true&page=login'); }