SproutCMS

This is the code documentation for the SproutCMS project

class BootstrapConfig

Methods for determining the details of the very initial environment,
prior to the rest of the system coming up

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-13
**/
class NewClassName extends BootstrapConfig {
    
    /**
    * Specify what the protocol and/or hostname which should be for requests
    * If this doesn't match the current values, then a 301 redirect will occur
    * 
    * Default version of this method does nothing, but commented-out examples
    * for common adjustments are included
    **/
    public function originCleanup (string $proto, string $hostname) {
        // Method code goes here
    }
    
}
?>