Joomla 1.0,管理员链接重定向到“installation/index.php",如何防止这种重定向? [英] Joomla 1.0, administrator link redirect to "installation/index.php", how to prevent this redirection?

查看:14
本文介绍了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'

修改了吗?

这篇关于Joomla 1.0,管理员链接重定向到“installation/index.php",如何防止这种重定向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆