index 95964d3ffec95077440beef2b3e41da39acb23dc..ca95ba561c87c2ae44c5bcd4cd9b58b093845e2d 100644 (file)
@require_once ("../include/php_setup.inc");
@require_once ("functions.inc");
error_reporting (E_ALL | E_STRICT);
-session_start ();
+session::start();
/* Logged in? Simple security check */
-if (!isset($_SESSION['ui'])){
+if (!session::is_set('ui')){
new log("security","all/all","",array(),"Error: getldif.php called without session") ;
header ("Location: index.php");
exit;
}
-$ui= $_SESSION["ui"];
-$config= $_SESSION['config'];
+$ui= session::get("ui");
+$config= session::get('config');
/* Check ACL's */
$dn = base64_decode($_GET['dn']);