Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Component/s: Block: Mrbs
-
Labels:None
-
Environment:Windows Server 2003
Apache 2.0.58
PHP 5.2.5
MySQL 5.0.51
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
Attached is the settings.php for the MRBS block.
This will address two issues with the current implementation of MRBS.
1. The settings for MRBS will appear when using the search option in the site administration block
2. It will populate the path to for the MRBS installation with http://<your web site>/blocks/mrbs/web (where <your web site> is the value stored in $CFG->wwwroot)
I've also attached an updated language file.
(The only new string is for the server path I've inserted it below)
$string['serverpath'] = 'MRBS Installation path';
Once the settings.php file is installed, the config_global.html can be removed (Moodle will use the settings.php file instead of the config_global.html file)
Stephen - Thanks for the suggestion and for providing the files. Definitely a good idea to use settings.php. I have changed this in the 19STABLE and HEAD branches of the MRBS block. I also created a 18STABLE branch the continues to use the older global config file since settings.php does not work with 1.8 (AFAIK). Let me know if I messed anything up. Peace - Anthony