[Fusionforge-commits] r8344 - branches/Branch_4_8/gforge/www/my

Roland Mas lolando at libremir.placard.fr.eu.org
Fri Nov 6 15:36:28 CET 2009


Author: lolando
Date: 2009-11-06 15:36:28 +0100 (Fri, 06 Nov 2009)
New Revision: 8344

Modified:
   branches/Branch_4_8/gforge/www/my/diary.php
Log:
Hide diary page if the feature is disabled

Modified: branches/Branch_4_8/gforge/www/my/diary.php
===================================================================
--- branches/Branch_4_8/gforge/www/my/diary.php	2009-11-06 14:36:19 UTC (rev 8343)
+++ branches/Branch_4_8/gforge/www/my/diary.php	2009-11-06 14:36:28 UTC (rev 8344)
@@ -26,6 +26,10 @@
 require_once $gfwww.'include/pre.php';
 require_once $gfwww.'include/vote_function.php';
 
+if (!$sys_use_diary) {
+	exit_error (_('The diary feature is not enabled.')) ;
+}
+
 if (!session_loggedin()) {
 
 	exit_not_logged_in();




More information about the Fusionforge-commits mailing list