testInstall()
testInstall(\Smarty $smarty, array $errors = null) : boolean
diagnose Smarty setup If $errors is secified, the diagnostic report will be appended to the array, rather than being output.
Parameters
\Smarty | $smarty | |
array | $errors | array to push results into rather than outputting them |
Returns
boolean —status, true if everything is fine, false else