Get Smarty

Donate

Paypal

Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Get the juciest casino bonuses at this great website

If you are looking for great entertainment online, then we would like to recommend CasinoAdvisers.com. Find the best casino bonus available and much more that makes your casino experience much more enjoyable!

Name

setCompileDir() — 设置编译目录

说明

Smarty setCompileDir(string compile_dir);

Example 14.44. setCompileDir()


<?php

// 设置编译目录
$smarty->setCompileDir('./templates_c');

// 方法连用
$smarty->setTemplateDir('./templates')
       ->setCompileDir('./templates_c')
       ->setCacheDir('./cache');

?>

   

参见 getCompileDir()$compile_dir.

Comments
No comments for this page.

Advertisement