-1

如何config.php在包含文件夹中配置..

$config['basedir']     =  '/home/username/public_html';
$config['baseurl']     =  'localhost';

我在 windows7 中使用 xampp ..

4

1 回答 1

0

您的问题似乎有点断章取义-您到底在使用 $config 数组做什么?您要安装什么应用程序?

无论哪种方式,您拥有的 basedir 变量听起来都像是基于 UNIX 的 XAMPP 变量,在您的 Windows 安装中,它可能应该类似于“C:\xampp\htdocs\”。

至于baseurl,请尝试在它之前添加“http://”。

于 2013-06-23T16:08:05.680 回答