mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
35 lines
715 B
PHP
35 lines
715 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of Phraseanet
|
|
*
|
|
* (c) 2005-2012 Alchemy
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
|
* @link www.phraseanet.com
|
|
*/
|
|
ignore_user_abort(true);
|
|
set_time_limit(0);
|
|
|
|
/* @var $Core \Alchemy\Phrasea\Core */
|
|
$Core = require_once __DIR__ . "/../../lib/bootstrap.php";
|
|
$appbox = appbox::get_instance($Core);
|
|
$session = $appbox->get_session();
|
|
$request = http_request::getInstance();
|
|
$parm = $request->get_parms("app");
|
|
|
|
|
|
if ( ! $session->is_authenticated()) {
|
|
return;
|
|
}
|
|
|
|
$session->set_event_module($parm['app'], false);
|
|
|
|
|