-2

我需要一些帮助。我有一个模板中的 index.php 文件,其中仅包含以下内容:

<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2012 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*/

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");

header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

header("Location: ../");
exit;
?>

我只是想知道,在 index.php 文件之后加载了哪个文件。我无法从 index.php 文件的内容中弄清楚。

就是这个网站。我最终想把“Panier”改成另一个名字。因此,我需要找到包含此字符串来源的文件。

4

2 回答 2

1

正如@Mike 和@Dagon 在评论中指出的那样,这个脚本所做的只是将您重定向到一个级别。如果该级别仍在公共 Web 根目录中,这将加载默认文件 - index.html、index.php 或任何默认文件设置为。

于 2013-08-06T23:39:50.837 回答
1

此文件是为了避免列出文件夹主题/prestashop/

它在所有 CMS 上都是常识,例如在 Joomla 下它是一个名为 index.html 的空文件

于 2013-08-07T15:12:02.603 回答