Skip to content

testInstall()

检查 Smarty 安装

描述

void

testInstall

此函数验证 Smarty 安装的所有必需的工作文件夹是否可以被访问。它会输出相应的协议。

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