文件根目录下是这样的
alipay
templates(放smarty的html)
lib
alipay下有return-url.php和alipay_config.php
templates下有uc.html
lib 下有base.php(主要是进行smarty等的基本配置 )return-url.php代码如下:
<?php
require_once(dirname(__FILE__)."/../lib/base.php");
require_once("alipay/alipay_config.php");
$smarty->display("uc.html");
?>
问题是操作return-url.php出现提示
“not to open file(uc.html)”
如果把return-url.php放在根目录下就可以了
请问我不想放在外面该如何设置啊
alipay
templates(放smarty的html)
lib
alipay下有return-url.php和alipay_config.php
templates下有uc.html
lib 下有base.php(主要是进行smarty等的基本配置 )return-url.php代码如下:
<?php
require_once(dirname(__FILE__)."/../lib/base.php");
require_once("alipay/alipay_config.php");
$smarty->display("uc.html");
?>
问题是操作return-url.php出现提示
“not to open file(uc.html)”
如果把return-url.php放在根目录下就可以了
请问我不想放在外面该如何设置啊
$smarty->display……
但是由于uc.html是由同目录下的header.html和main.html组成的
现在又报错说header.html和main.html找不到路径
谢谢
compile_dir
config_dir
cache_dir
..............
你需要看下smarty手册