Joomla 1.0, administrator link redirect to quot;installation/index.phpquot;, how to prevent this redirection?(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",如何防止这种重定向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Joomla 1.0,管理员链接重定向到“installation/index.php",如何防止这种重定向?


基础教程推荐
- 在 Woocommerce 中根据运输方式和付款方式添加费用 2021-01-01
- 在多维数组中查找最大值 2021-01-01
- 如何在 PHP 中的请求之间持久化对象 2022-01-01
- 通过 PHP SoapClient 请求发送原始 XML 2021-01-01
- mysqli_insert_id 是否有可能在高流量应用程序中返回 2021-01-01
- 在 PHP 中强制下载文件 - 在 Joomla 框架内 2022-01-01
- WooCommerce 中选定产品类别的自定义产品价格后缀 2021-01-01
- Libpuzzle 索引数百万张图片? 2022-01-01
- XAMPP 服务器不加载 CSS 文件 2022-01-01
- 超薄框架REST服务两次获得输出 2022-01-01