博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
smarty---为自己的应用程序设置目录
阅读量:7112 次
发布时间:2019-06-28

本文共 597 字,大约阅读时间需要 1 分钟。

hot3.png

为自己的应用程序设置目录

  • Smarty requires four directories which are by default named templates/templates_c/configs/ and cache/

    smarty需要四个默认的目录,这四个目录的名称使用templates/, templates_c/, configs/  cache/

  • Each of these are definable by the Smarty class properties $template_dir$compile_dir$config_dir, and $cache_dir respectively

    这些目录是可定义的,通过使用$template_dir, $compile_dir, $config_dir, 和 $cache_dir这个几个变量

  • It is highly recommended that you setup a separate set of these directories for each application that will use Smarty

    为每个单独的应用程序设置这些目录

    第一张图片

    第二张图片

    第三张图片

转载于:https://my.oschina.net/zhangdapeng89/blog/39782

你可能感兴趣的文章
android ContentObserver
查看>>
ip_vs实现分析(6)
查看>>
linux创建进程和等待进程退出
查看>>
Flutter和原生应用性能对比
查看>>
微信公众号H5页面--JqueryWeui组件使用
查看>>
Angular2+,路由预加载--预先加载延迟模块
查看>>
Spring Boot In Practice (0):基础
查看>>
MyEclipse使用Git进行Push to Upstream报错 学习笔记
查看>>
CSS奇淫技巧
查看>>
MyBatis传入多个参数笔记(一)
查看>>
Redis的数据类型——探究竟
查看>>
使用kubeadm安装k8s-1.11版本多主高可用
查看>>
如何从数组中随机取出几个值组成新的数组?
查看>>
Flutter 你想知道的Widget可视区域,相对位置,大小
查看>>
linux创建用户并添加到sudo用户组中
查看>>
【微服务直播】Netty和Vert.x在Apache顶级项目ServiceComb中的应用
查看>>
redis系列--主从复制以及redis复制演进
查看>>
云存储:对象存储管理与安全
查看>>
ios8X的兼容性问题
查看>>
并发工具类(一)等待多线程的CountDownLatch
查看>>