testInstall() public method

Run installation test
public testInstall ( array &$errors = null ) : boolean
$errors array Array to write errors into, rather than outputting them
return boolean true if setup is fine, false if something is wrong
Example #1
0
<?php

require_once 'Smarty.class.php';
$smarty = new Smarty();
$smarty->testInstall();