Name

testInstall() — 测试Smarty安装

说明

void testInstall();

该函数测试Smarty需要的全部工作目录是否可以读写。 该函数显示一个格式化的结果。

Example 14.52. testInstall()


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