From bcb856b746ce8aa93eaf330c6063cad62ac585d3 Mon Sep 17 00:00:00 2001 From: kkalev Date: Sun, 8 Sep 2002 11:27:32 +0000 Subject: [PATCH] Also cache the admin.conf if use_session is set to 1 in config.php3 --- Changelog | 1 + conf/admin.conf | 2 ++ conf/config.php3 | 33 ++++++++++++++++++++++----------- 3 files changed, 25 insertions(+), 11 deletions(-) diff --git a/Changelog b/Changelog index d6bc1e0..ce557c2 100644 --- a/Changelog +++ b/Changelog @@ -36,6 +36,7 @@ Ver 1.60: * Call config.php3 before outputing any html. * Add sessions in order to cache the various mappings. Add a corresponding configuration directive general_use_session. Also add a session cache destroy page. +* Also cache the admin.conf if use_session is set to 1 in config.php3 Ver 1.55: * Update the FAQ about missing attributes from the user/group edit pages and add a few comments in the configuration files diff --git a/conf/admin.conf b/conf/admin.conf index d747336..d6276f2 100644 --- a/conf/admin.conf +++ b/conf/admin.conf @@ -13,6 +13,8 @@ general_radiusd_base_dir: /usr/local/radiusd general_domain: company.com # # Set it to yes to use sessions and cache the various mappings +# You can also set use_session = 1 in config.php3 to also cache +# the admin.conf # This feature is considered experimantal for the moment general_use_session: no diff --git a/conf/config.php3 b/conf/config.php3 index 1a2f345..1fc7124 100644 --- a/conf/config.php3 +++ b/conf/config.php3 @@ -1,17 +1,28 @@