Skip to content
Snippets Groups Projects
Commit 626bb5bc authored by SNA's avatar SNA
Browse files

No commit message

No commit message
parent 13eab351
No related branches found
No related tags found
No related merge requests found
...@@ -10,14 +10,17 @@ ...@@ -10,14 +10,17 @@
* @license GPL v3 * @license GPL v3
* @author Laurent Giovannoni <dev@maarch.org> * @author Laurent Giovannoni <dev@maarch.org>
*/ */
session_name('PeopleBox');
session_start(); include_once('core/init.php');
require_once("core/class/class_functions.php"); require_once("core/class/class_functions.php");
require_once("core/class/class_portal.php"); require_once("core/class/class_portal.php");
require_once("core/class/class_core_tools.php");
$portal = new portal(); $portal = new portal();
$portal->unset_session(); $portal->unset_session();
$portal->build_config(); $portal->build_config();
$func = new functions(); $func = new functions();
$core = new core_tools();
$_SESSION['custom_override_id'] = $core->get_custom_id();
//$func->show_array($_SESSION['config']); //$func->show_array($_SESSION['config']);
//$func->show_array($_SESSION['businessapps']); //$func->show_array($_SESSION['businessapps']);
//$func->show_array($_SESSION['tablename']); //$func->show_array($_SESSION['tablename']);
...@@ -27,7 +30,7 @@ if(isset($_SESSION['config']['defaultlang']) && !empty($_SESSION['config']['defa ...@@ -27,7 +30,7 @@ if(isset($_SESSION['config']['defaultlang']) && !empty($_SESSION['config']['defa
} }
/*print_r($_SESSION['config']); /*print_r($_SESSION['config']);
exit;*/ exit;*/
if($_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");
} }
......
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