我在window2003的服务器上配置php环境php5.24的
使用此函数:getcwd()
===>路径是:"D:\1\788156\shopadmin/includes/bootstrap.inc"
可是我的路径是:"D:\1\788369\index.php"
为什么啊?》
是服务器没配置好吗?
使用此函数:getcwd()
===>路径是:"D:\1\788156\shopadmin/includes/bootstrap.inc"
可是我的路径是:"D:\1\788369\index.php"
为什么啊?》
是服务器没配置好吗?
我在IIS上有两个站点:
1个为:D:\1\788156==>假设域名为:788156.23bc.com
2个为:D:\1\788369==>假设域名为:788369.23bc.com
788369.23bc.com/index.php==>里面使用"define('DRUPAL_ROOT', getcwd());"
怎么取到的值是:"D:\1\788156"==>788156,788369这两个是IIS里面不同的站点