cakephp中HTML文件的链接
我需要显示链接到html文件。此文件的路径是rootcakephp中HTML文件的链接,php,cakephp,hyperlink,href,Php,Cakephp,Hyperlink,Href,我需要显示链接到html文件。此文件的路径是root文件夹/test/index.html。我尝试使用 $this->URL->build, href 但仍然没有运气。将HTML文件放在cakephp webroot文件夹中 webroot/ index.php css/ img/ js/ test/ <--- html content index.html other.html webroot/ index.php css/ img/
文件夹/test/index.html
。我尝试使用
$this->URL->build, href
但仍然没有运气。将HTML文件放在cakephp webroot文件夹中
webroot/
index.php
css/
img/
js/
test/ <--- html content
index.html
other.html
webroot/
index.php
css/
img/
js/
test/将HTML文件放在cakephp webroot文件夹中
webroot/
index.php
css/
img/
js/
test/ <--- html content
index.html
other.html
webroot/
index.php
css/
img/
js/
测试/你的意思是什么代码?你的意思是什么代码?