php smarty 配置四个存放目录
2013-10-26 01:34
211 查看
require("Smarty.class.php"); $smarty = new Smarty(); $smarty -> template_dir = "./templates"; //模板存放目录 $smarty -> compile_dir = "./templates_c"; //编译目录 $smarty -> cache_dir = "./cache"; //缓存目录 $smarty -> config_dir = "./configs"; //缓存目录
相关文章推荐
- PHP中使用Smarty模板目录结构配置
- PHP中使用Smarty模板目录结构配置
- 在Spring的项目中配置Log4j存放日志文件到指定目录下
- php文件包含目录配置open_basedir的使用与性能详解
- (配置)CKEditor+CKFinder+php上传配置,根据年月命名创建文件夹来存放
- Nginx.PHP配置Smarty
- 10-4 11 禁止某个目录解析PHP 限制user_agent php相关配置
- Apache如何配置php网站虚拟目录
- Log4j中的默认配置文件需要存放在classpath目录下
- Apache配置,针对某个目录不解析PHP
- 针对配置文件操作 PHP最常用的四个ini函数
- 限定某个目录禁止解析php、限制user_agent和PHP相关配置
- 限定某个目录禁止解析php 限制user_agent php相关配置
- PHP Apache虚拟目录的配置
- php-fpm配置文件,指定session保存目录
- Nginx虚拟目录支持PHP配置
- apache 配置虚拟目录+默认页+隐藏index.php
- php.ini的存放目录问题
- 在apache配置文件中设置php上传临时目录
- nginx 配置虚拟目录并支持php