Home > Backend Development > PHP Tutorial > Linux下 Smarty中的display显示有关问题

Linux下 Smarty中的display显示有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:51:35
Original
1017 people have browsed it

Linux下 Smarty中的display显示问题
在windows下好使,但是在linux下就不行了,我在linux下的路径是\\192.168.73.112\ubuntu\usr\local\nginx\test。 所有的文件都放在test下面。然后Smarty需要调用的HTML放在\\192.168.73.112\ubuntu\usr\local\nginx\test\View下。
我在linux下打印template_dir出来是/usr/local/nginx/test/View。

但是执行print_r($Smarty->template_dir); 这条出来了信息,
$Smarty->display('index.html');但是却没有显示界面。

谁能告诉我原因,只要相关的,靠谱的都告诉我。
------解决方案--------------------
但是执行print_r($Smarty->template_dir); 这条出来了信息
什么内容,贴出来
------解决方案--------------------
有木有权限啊

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
smarty turns on caching garbled characters
From 1970-01-01 08:00:00
0
0
0
Why does tp use smarty template? ?
From 1970-01-01 08:00:00
0
0
0
How do you use smarty to integrate laravel5?
From 1970-01-01 08:00:00
0
0
0
Two ways to install smarty
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template