. * --------------------------------------------------------------------- */ if (strpos($_SERVER['PHP_SELF'], "ldapdaterestriction.php")) { include ('../inc/includes.php'); header("Content-Type: text/html; charset=UTF-8"); Html::header_nocache(); } else if (!defined('GLPI_ROOT')) { die("Sorry. You can't access this file directly"); } Session::checkLoginUser(); AuthLDAP::showDateRestrictionForm($_POST);