【发布时间】:2016-01-16 01:18:17
【问题描述】:
This url 似乎声称这是不可能的。但是该网站上的解决方法也不起作用,并且信息已过时。所以我的问题是......当你把它放在sites.php文件中时,为什么这在Drupal 8中有效:
$sites = array(
// URL ==> path
'test.localhost' => 'default',
'test2.localhost' => 'somepath',
);
但不是这个:
$sites = array(
// URL ==> path
'test.localhost' => 'default',
'127.0.0.1' => 'somepath',
);
我该如何让它发挥作用?
【问题讨论】: