我正在运行Anchor CMS,我刚刚升级到0.8版.当我尝试运行安装程序时,我收到"未指定输入文件"错误.我相信它很可能是一个.htaccess问题,但我不确定应该是什么样的正确设置.
我的网站可以在这里找到.
我的.htaccess设置为:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase {base}
# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Rewrite all other URLs to index.php/URL
RewriteRule ^(.*)$ {index} [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 index.php
</IfModule>
Run Code Online (Sandbox Code Playgroud)
如果有帮助,我也使用GoDaddy作为托管服务提供商.
假设我在themes文件夹中有两个主题,default
和custom
.我知道我可以custom
通过将文件夹重命名default
为原始default
文件夹而将当前主题切换为其他内容default
.
但有没有办法在配置文件或管理菜单中实际配置?我试着查看他们的文档,主要讨论创建主题但不切换.