Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46937

Add settings to config.php with pipe

$
0
0
by Andrew Sadler.  

Moodle 2.5

Trying to define settings in config.php so admin can't easily change them by mistake.

How do I add just as an example:

$CFG->moodlecourse | numsections =5;

Tried everthing I can think of and searched high and low but can't get the right syntax.


Viewing all articles
Browse latest Browse all 46937

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>