From f2ad5c77529b9ead66524e6b19f5c4d8c25c91a5 Mon Sep 17 00:00:00 2001 From: kkalev Date: Sun, 24 Nov 2002 15:01:36 +0000 Subject: [PATCH] Work even when register_globals if off. Suggestion from Evren Yurtesen Also add an entry in the FAQ about that. --- Changelog | 2 ++ FAQ | 8 ++++++++ conf/config.php3 | 7 +++++++ 3 files changed, 17 insertions(+) diff --git a/Changelog b/Changelog index 304f6b0..5a157b6 100644 --- a/Changelog +++ b/Changelog @@ -6,6 +6,8 @@ Ver 1.62: * Add a new script bin/truncate_radacct which will delete all sessions from the radacct table which are older than a configurable number of days * Fix a typo in sql.attrmap. Fix by Evren Yurtesen +* Work even when register_globals if off. Suggestion from Evren Yurtesen + Also add an entry in the FAQ about that. Ver 1.61: * Add a string encoder for greek * If general_decode_normal_attributes is set then encode attributes in lib/ldap/change_info. In the near future diff --git a/FAQ b/FAQ index 38ad615..3864b0c 100644 --- a/FAQ +++ b/FAQ @@ -56,5 +56,13 @@ table and not try to do a finger on the NAS. If you are using sessions then remember to use the 'Clear Cache' page after making any changes +> +> It is still not working +> + +Check that the register_globals in php.ini is set to on. As of PHP 4.2.0 this is set to off by default. The latest +versions of dialup_admin will work even if register_globals is set to off if the php version is > 4.1.0 +(Thanks to Evren Yurtesen for the suggestion). + -- kkalev diff --git a/conf/config.php3 b/conf/config.php3 index 9c0f375..dd6a885 100644 --- a/conf/config.php3 +++ b/conf/config.php3 @@ -1,4 +1,11 @@ = $testVer ) + import_request_variables('GPC'); # If using sessions set use_session to 1 to also cache the config file # $use_session = 0; -- 2.39.5