Joomla 1.0,管理员链接重定向到“installation/index.php",如何防止这种重定向?
我只是将旧的 Joomla 1.0 站点迁移到本地主机,前端工作正常,但是当我尝试打开管理员时,它重定向到installation/index.php"文件而没有打开任何内容,如何防止这件事,我正在检查以下代码中的路径,该代码存在于管理员/index2.php 文件中,其正确路径但管理员仍未打开.
I'm just migrate my old Joomla 1.0 site to localhost, fronted works fine, but when I try to open administrator its redirect to "installation/index.php" file and nothing to open, how to prevent this thing, I'm check path in below code which is present in in administrator/index2.php file its correct path but still administrator not open.
if (!file_exists( 'C:/xampp/htdocs/myproject/configuration.php' )) {
header( 'Location: ../installation/index.php' );
exit();
}
推荐答案
我不相信administration/index2.php的源文件验证路径中的文件:
I don't believe that the source file of administration/index2.php validates the file in path:
'C:/xampp/htdocs/myproject/configuration.php'
'C:/xampp/htdocs/myproject/configuration.php'
修改了吗?
相关文章