* @version $Id$ * @access public * @license http://opensource.org/licenses/gpl-3.0.html */ $noplugin = true; // flag for ../config/define.php file include_once('../config/define.php'); //////////// Check Inclusion de pages //////////// if (!class_exists('auth')) { include_once("../lib/lib_common.php"); ReloadIndex('admin'); } //////////// //////////// Check Droits utilisateur //////////// if (!$l21auth->hasRight('dashboard')) ReloadIndex('admin'); //////////// if(isset($_POST['to_export']) && $_GET['token'] == SECRET_KEY) { unset($_SESSION['indicator_export_ids']); $_SESSION['indicator_export_ids'] = array_unique($_POST['to_export']); // print_r($_SESSION['indicators_export_ids']); } sleep(2); ?>