diff --git a/html/getvcard.php b/html/getvcard.php
index f55dc4e2e4b5291e1017e74c5964c6add9cd7f4e..a1c68bc829a5259d3484a875d46bf5836700250a 100644 (file)
--- a/html/getvcard.php
+++ b/html/getvcard.php
/* Logged in? Simple security check */
if (!isset($_SESSION['ui'])){
/* Logged in? Simple security check */
if (!isset($_SESSION['ui'])){
- gosa_log ("Error: getvcard.php called without session");
- header ("Location: ../index.php");
+ new log("security","all/all","",array(),"Error: getvcard.php called without session") ;
+ header ("Location: index.php");
exit;
}
exit;
}