SproutCMS

This is the code documentation for the SproutCMS project

class Ssl

Used to force an SSL (i.e. HTTPS) connection for configured controllers and methods.

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-16
**/
class NewClassName extends Ssl {
    
    /**
    * Checks the current request against the list of require_ssl controllers/actions and force SSL for them.
    * If the user accesses a page not on the list, in SSL mode, we let them anyway.
    **/
    public function check () {
        // Method code goes here
    }
    
}
?>