Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何config.php在包含文件夹中配置..
config.php
$config['basedir'] = '/home/username/public_html'; $config['baseurl'] = 'localhost';
我在 windows7 中使用 xampp ..
您的问题似乎有点断章取义-您到底在使用 $config 数组做什么?您要安装什么应用程序?
无论哪种方式,您拥有的 basedir 变量听起来都像是基于 UNIX 的 XAMPP 变量,在您的 Windows 安装中,它可能应该类似于“C:\xampp\htdocs\”。
至于baseurl,请尝试在它之前添加“http://”。