From: kkalev Date: Sat, 10 Aug 2002 18:46:33 +0000 (+0000) Subject: The new group page should only be available if the general library type is sql X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=3f826f800c369b09538e3b6c51179f2581414deb;p=freeradius-dialup-admin.git The new group page should only be available if the general library type is sql --- diff --git a/Changelog b/Changelog index 698bca1..54abfc7 100644 --- a/Changelog +++ b/Changelog @@ -6,6 +6,7 @@ Ver 1.50: * Add support for the '=*' and '!*' operators * Added a HELP_WANTED file describing what are the major things missing which people could contribute. * Updated TODO +* The new group page should only be available if the general library type is sql Ver 1.30: * Add limit of results returned in accounting.php3 * Fix a bug in time2strclock() in lib/functions.php3. Seconds ammount more than 9 would not show. diff --git a/htdocs/group_new.php3 b/htdocs/group_new.php3 index 0af6e32..b9abcc5 100644 --- a/htdocs/group_new.php3 +++ b/htdocs/group_new.php3 @@ -4,6 +4,21 @@ if ($show == 1){ exit; } require('../conf/config.php3'); + +if ($config[general_lib_type] != 'sql'){ + echo <<New group creation page + + + +
+This page is only available if you are using sql as general library type + + +EOM; + exit(); +} + require('../lib/attrshow.php3'); require('../lib/defaults.php3');