在index.php之后加载哪个文件?

时间:2013-08-06 22:52:42

标签: php html smarty prestashop

我需要一些帮助。我有一个只包含这个的模板的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”换成另一个名字。因此,我需要找到包含此字符串来源的文件。

2 个答案:

答案 0 :(得分:1)

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

答案 1 :(得分:1)

这个文件是为了避免列出文件夹themes / prestashop /

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