]> git.mjollnir.org Git - moodle.git/commitdiff
Config for dbsessions variable
authormoodler <moodler>
Thu, 30 Sep 2004 08:04:56 +0000 (08:04 +0000)
committermoodler <moodler>
Thu, 30 Sep 2004 08:04:56 +0000 (08:04 +0000)
admin/config.html
lang/en/moodle.php

index 18bbaad5e83a418bd18458644313f65f7e1b1ad5..54653e52ca008e47675e81a51a0dc7afd4c861d2 100644 (file)
     <?php print_string('confignotifyloginthreshold') ?>
     </td>
 </tr>
+<tr valign="top">
+    <td align="right"><p>dbsessions:</td>
+    <td>
+    <?php unset($options);
+       $options[0] = get_string('no');
+       $options[1] = get_string('yes');
+
+       choose_from_menu ($options, "dbsessions", $config->dbsessions, "", "", "");
+    ?>
+    </td>
+    <td>
+    <?php print_string("configdbsessions") ?>
+    </td>
+</tr>
 <tr valign="top">
     <td align="right"><p>sessiontimeout:</td>
     <td>
index 66eee59737031999ae259f2951e671a8779cf22d..97ad0086494d97b4391eb11b2fa89726e15547d5 100644 (file)
@@ -170,6 +170,7 @@ $string['configclamactlikevirus'] = 'Treat files like viruses';
 $string['configclamdonothing'] = 'Treat files as OK';
 $string['configclamfailureonupload'] = 'If you have configured clam to scan uploaded files, but it is configured incorrectly or fails to run for some unknown reason, how should it behave?  If you choose \'Treat files like viruses\', they\'ll be moved into the quarantine area, or deleted. If you choose \'Treat files as OK\', the files will be moved to the desination directory like normal. Either way, admins will be alerted that clam has failed.  If you choose \'Treat files like viruses\' and for some reason clam fails to run (usually because you have entered an invalid pathtoclam), ALL files that are uploaded will be moved to the given quarantine area, or deleted. Be careful with this setting.';
 $string['configcountry'] = 'If you set a country here, then this country will be selected by default on new user accounts.  To force users to choose a country, just leave this unset.';
+$string['configdbsessions'] = 'If enabled, this setting will use the database to store information about current sessions.  This is especially useful for large/busy sites or sites built on cluster of servers.  For most sites this should probably be left disabled so that the server disk is used instead.  Note that changing this setting now will log out all current users (including you).';
 $string['configdebug'] = 'If you turn this on, then PHP\'s error_reporting will be increased so that more warnings are printed.  This is only useful for developers.';
 $string['configdeleteunconfirmed'] = 'If you are using email authentication, this is the period within which a response will be accepted from users.  After this period, old unconfirmed accounts are deleted.';
 $string['configdigestmailtime'] = 'People who choose to have emails sent to them in digest form will be emailed the digest daily. This setting controls which time of day the daily mail will be sent (the next cron that runs after this hour will send it).';