Commit 46aba6b4 authored by Aaron Wells's avatar Aaron Wells
Browse files

Removing $cfg->themeprefs because it has been replaced by $cfg->sitethemeprefs



Bug #1185297: The $cfg->themeprefs setting was removed in bug #793308

Change-Id: Ifcea19569d62eeb03cb26e098d74ab4d535f61e3
Signed-off-by: Aaron Wells's avatarAaron Wells <aaronw@catalyst.net.nz>
parent 8c020560
......@@ -30,7 +30,7 @@
//
// Do Not Edit This File!
//
// If you see a setting in here you'd like to change, copy it to your
// If you see a setting in here you'd like to change, copy it to your
// config.php and change it there.
//
// This file sets defaults that are useful for most people.
......@@ -45,14 +45,14 @@ $cfg = new StdClass;
// leave it as is!
//$cfg->directorypermissions = 0700;
// insecuredataroot - whether to enforce checking that files being served have
// come from dataroot. You would only want to turn this on if you were running
// more than one Mahara against the same dataroot. If you are doing that, make
// sure you create separate dataroots for each installation, but symlink the
// artefact directory from all of them to one of them, and turn on
// insecuredataroot - whether to enforce checking that files being served have
// come from dataroot. You would only want to turn this on if you were running
// more than one Mahara against the same dataroot. If you are doing that, make
// sure you create separate dataroots for each installation, but symlink the
// artefact directory from all of them to one of them, and turn on
// 'insecuredataroot' on all the ones you created symlinks for.
//
// If you don't know what you're doing/didn't understand the paragraph above,
// If you don't know what you're doing/didn't understand the paragraph above,
// then leave this setting alone!
//$cfg->insecuredataroot = false;
......@@ -111,24 +111,24 @@ $cfg->log_backtrace_levels = LOG_LEVEL_WARN | LOG_LEVEL_ENVIRON;
// Developer mode
// When set, the following things (among others) will happen:
//
// * 'debug.js' will be included on each page. You can edit this file to add
// * 'debug.js' will be included on each page. You can edit this file to add
// debugging javascript at your discretion
// * 'debug.css' will be included on each page. You can edit this file to add
// * 'debug.css' will be included on each page. You can edit this file to add
// debugging CSS at your discretion
// * the unpacked version of MochiKit will be used
//
// These options are a performance hit otherwise, enable when you are
// These options are a performance hit otherwise, enable when you are
// developing for Mahara
$cfg->developermode = false;
// $cfg->developermode = DEVMODE_DEBUGJS | DEVMODE_DEBUGCSS | DEVMODE_UNPACKEDJS;
// Whether to send e-mail. If set to false, Mahara will not send any e-mail at
// all. This is useful for when setting up development versions of Mahara where
// you don't want to accidentally send email to users from this particular
// Whether to send e-mail. If set to false, Mahara will not send any e-mail at
// all. This is useful for when setting up development versions of Mahara where
// you don't want to accidentally send email to users from this particular
// Mahara installation.
//
// You can use sendallemailto to have all e-mails from this instance of Mahara
// sent to one particular address instead of where they're aimed for. Leave
// You can use sendallemailto to have all e-mails from this instance of Mahara
// sent to one particular address instead of where they're aimed for. Leave
// sendemail = true if you want to use this setting.
$cfg->sendemail = true;
// $cfg->sendallemailto = 'you@example.com';
......@@ -222,14 +222,14 @@ $cfg->unziplistarg = '-l';
// you must change this to something unique, eg /tmp/mahara1/ and /tmp/mahara2/
// $cfg->unziptempdir = '/tmp/mahara/';
// How often Mahara should update the last access time for users. Setting this
// lower means the field will be updated more regularly, but means a database
// How often Mahara should update the last access time for users. Setting this
// lower means the field will be updated more regularly, but means a database
// write will be required for more requests.
// Setting it to zero means the access time will be updated every request
$cfg->accesstimeupdatefrequency = 300;
// How long since their last request before a user is considered to be logged
// out. Note that it makes no sense for this to be less than the
// How long since their last request before a user is considered to be logged
// out. Note that it makes no sense for this to be less than the
// accesstimeupdatefrequency.
$cfg->accessidletimeout = 600;
......@@ -289,7 +289,9 @@ $cfg->productionmode = true;
// If true, users can change their preferred theme for browsing the site. The user's theme preference
// will override any site, institution, or page theme.
// $cfg->themeprefs = true;
// (Even with this setting disabled, users in multiple institutions can choose which of their
// institutions' themes they wish to use)
// $cfg->sitethemeprefs = true;
// Clean url configuration
// Do not turn this on until you have the correct rewrite rules in place on your webserver, or none of
......@@ -326,10 +328,5 @@ $cfg->cleanurlusereditable = true;
// See https://wiki.mahara.org/index.php/System_Administrator%27s_Guide/Clean_URL_Configuration#User_Subdomains
// $cfg->cleanurlusersubdomains = true;
// Users in multiple institutions can choose one institution theme as their preferred theme for browsing the site.
// The following option if enabled will allow users to choose also standard site themes as their preferred theme
// for browsing the site.
// $cfg->sitethemeprefs = true;
// Turn on caching of HTTP requests
// $cfg->nocache = true;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment