This normally works:
SELECT * FROM mdl_config WHERE name = 'loginhttps';
Michael is right though, in PHP code you should use get_config().
This normally works:
SELECT * FROM mdl_config WHERE name = 'loginhttps';
Michael is right though, in PHP code you should use get_config().