]> git.sur5r.net Git - contagged/blobdiff - orgs.php
Make it possible to disable private contacts
[contagged] / orgs.php
index 0f6426ce80a23568d2228a93cb66749a5b821d6b..f6ce2889f2d090b29e43d84e5851761f8331aa40 100644 (file)
--- a/orgs.php
+++ b/orgs.php
@@ -1,7 +1,12 @@
-<?
+<?php
   require_once('inc/init.php');
   ldap_login();
 
+  if ($conf['userlogreq'] && $user == ''){
+      header('Location: login.php');
+      exit();
+  }
+
   //prepare templates
   tpl_std();
   tpl_orgs();