From 29d218ce2f7521dc792c81003a57a483c05e45a4 Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 28 Mar 2006 05:31:21 +0000 Subject: [PATCH] Added GUI for $CFG->sessioncookiepath --- admin/configvars.php | 2 ++ lang/en_utf8/admin.php | 1 + 2 files changed, 3 insertions(+) diff --git a/admin/configvars.php b/admin/configvars.php index c6a2541f57..720f34eda1 100644 --- a/admin/configvars.php +++ b/admin/configvars.php @@ -141,6 +141,8 @@ class configvarrss extends configvar { /// sessioncookie $operatingsystem['sessioncookie'] = new configvar (get_string('configsessioncookie', 'admin'), '' ); + $operatingsystem['sessioncookiepath'] = new configvar (get_string('configsessioncookiepath', 'admin'), + '' ); /// zip $operatingsystem['zip'] = new configvar (get_string('configzip', 'admin'), diff --git a/lang/en_utf8/admin.php b/lang/en_utf8/admin.php index 461517684d..4d67bf4048 100644 --- a/lang/en_utf8/admin.php +++ b/lang/en_utf8/admin.php @@ -104,6 +104,7 @@ $string['configsectionstats'] = 'Statistics'; $string['configsectionuser'] = 'User'; $string['configsecureforms'] = 'Moodle can use an additional level of security when accepting data from web forms. If this is enabled, then the browser\'s HTTP_REFERER variable is checked against the current form address. In a very few cases this can cause problems if the user is using a firewall (eg Zonealarm) configured to strip HTTP_REFERER from their web traffic. Symptoms are getting \'stuck\' on a form. If your users are having problems with the login page (for example) you might want to disable this setting, although it might leave your site more open to brute-force password attacks. If in doubt, leave this set to \'Yes\'.'; $string['configsessioncookie'] = 'This setting customises the name of the cookie used for Moodle sessions. This is optional, and only useful to avoid cookies being confused when there is more than one copy of Moodle running within the same web site.'; +$string['configsessioncookiepath'] = 'If you need to change where browsers send the Moodle cookies, you can change this setting to specify a subdirectory of your web site. Otherwise the default \'/\' should be fine.'; $string['configsessiontimeout'] = 'If people logged in to this site are idle for a long time (without loading pages) then they are automatically logged out (their session is ended). This variable specifies how long this time should be.'; $string['configshowblocksonmodpages'] = 'Some activity modules support blocks on their pages. If you turn this on, then teachers will be able to add side blocks on those pages, otherwise the interface does not show this feature.'; $string['configshowsiteparticipantslist'] = 'All of these site students and site teachers will be listed on the site participants list. Who shall be allowed to see this site participants list?'; -- 2.39.5