crm-rush/api/soft/smarty/4.5.2/docs/programmers/api-functions/api-test-install.md

352 B

testInstall()

checks Smarty installation

Description

void

testInstall

This function verifies that all required working folders of the Smarty installation can be accessed. It does output a corresponding protocol.

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