File path: dist/twist/Core/Controllers/Manager.controller.php
Namespace: Twist\Core\Controllers
Extends: BaseUser
htaccess
— HTaccess manager to all the editing of browser cache settings, rewrite rules and default host name redirects such as using www. or not and forcing https.
void — No return information has been documented for this function.
<?php
/** --------- Option 1 --------- */
//Register a dynamic route that will direct all function requests to the controller
Twist::Route() -> controller('/manager%','\Twist\Core\Controllers\Manager');
/** --------- Option 2 --------- */
//Or you can register a route to only direct the current request to a particular controller method
Twist::Route() -> get('/manager/htaccess',array('\Twist\Core\Controllers\Manager','htaccess'));