SproutCMS

This is the code documentation for the SproutCMS project

source of /config/require_ssl.php

If you have specific SSL requirements, list them here.

The config is per-controller, with the controller name
as a key.

To hit all methods, use the string '*'.
To hit specific methods, use an array of method names.
  1. <?php
  2.  
  3. /**
  4. * If you have specific SSL requirements, list them here.
  5. *
  6. * The config is per-controller, with the controller name
  7. * as a key.
  8. *
  9. * To hit all methods, use the string '*'.
  10. * To hit specific methods, use an array of method names.
  11. **/
  12.  
  13.  
  14. /**
  15. * Uncomment this to force SSL for the admin
  16. **/
  17. //$config['require_ssl']['admin'] = '*';
  18.  
  19.  
  20. /**
  21. * If you have a cert, it's probably not a bad idea to protect dbtools too
  22. **/
  23. //$config['require_ssl']['dbtools'] = '*';
  24.  
  25.