TwistPHP Documentation

checks

File path: dist/twist/Core/Controllers/InstallWizard.controller.php
Namespace: Twist\Core\Controllers
Extends: Base

checksCheck that all the prerequisite have been met by the users server/hosting configuration.
The framework requires PHP5.3+ and the files/folders need to be writable by the PHP user.

Return Values

void — No return information has been documented for this function.

Example

<?php
/** --------- Option 1 --------- */

//Register a dynamic route that will direct all function requests to the controller
Twist::Route() -> controller('/installwizard%','\Twist\Core\Controllers\InstallWizard');

/** --------- Option 2 --------- */

//Or you can register a route to only direct the current request to a particular controller method
Twist::Route() -> get('/installwizard/checks',array('\Twist\Core\Controllers\InstallWizard','checks'));