Get HTTP security settings from the database

Re: Get HTTP security settings from the database

by David Mudrák -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers Picture of Plugins guardians Picture of Testers Picture of Translators

This normally works:

SELECT * FROM mdl_config WHERE name = 'loginhttps';

Michael is right though, in PHP code you should use get_config().