<?php
//include_once("Smarty/libs/Smarty.class.php"); 
require_once $_SERVER['DOCUMENT_ROOT']."/Smarty/libs/Smarty.class.php";
$smarty=new smarty();  
$smarty->compile_check=true;
$smarty->config_dir=$_SERVER['DOCUMENT_ROOT']."Smarty/libs/Config_File.class.php"; 
$smarty->caching=false;    
$smarty->template_dir=$_SERVER['DOCUMENT_ROOT']."/Smarty/templates";  
$smarty->compile_dir=$_SERVER['DOCUMENT_ROOT']."/Smarty/templates_c";   
$smarty->cache_dir=$_SERVER['DOCUMENT_ROOT']."/Smarty/cache";  
//  --------------------------------------
$smarty->left_delimiter="<{";
$smarty->right_delimiter="}>";
?>

相关文章:

  • 2022-12-23
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2022-02-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-22
  • 2021-10-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2021-09-28
相关资源
相似解决方案