Good Evening all,
I am doing some alterations to my site and i need to find the upto date Index.php file,. I can only find old ones.
Can anyone tell me where to find the uptodate one /
Thanks in advance
Norman
V1.3.9h
Good Evening all,
I am doing some alterations to my site and i need to find the upto date Index.php file,. I can only find old ones.
Can anyone tell me where to find the uptodate one /
Thanks in advance
Norman
V1.3.9h
Last edited by rafwraf; 29 Nov 2011 at 10:22 PM.
What do you mean by "up-to-date" index.php file ?
For starters, there are SEVERAL index.php files in the system, so which one are you referring to?
Also, what do you want to achieve by editing / modifying index.php ?
This file need not be touched - ever...
20 years a Zencart User
Here's the header for the CURRENT main index.php file...
PHP Code:<?php
/**
* index.php represents the hub of the Zen Cart MVC system
*
* Overview of flow
* <ul>
* <li>Load application_top.php - see {@tutorial initsystem}</li>
* <li>Set main language directory based on $_SESSION['language']</li>
* <li>Load all *header_php.php files from includes/modules/pages/PAGE_NAME/</li>
* <li>Load html_header.php (this is a common template file)</li>
* <li>Load main_template_vars.php (this is a common template file)</li>
* <li>Load on_load scripts (page based and site wide)</li>
* <li>Load tpl_main_page.php (this is a common template file)</li>
* <li>Load application_bottom.php</li>
* </ul>
*
* @package general
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $
*/
/**
* Load common library stuff
*/
20 years a Zencart User
Hi, schoolboy
can you tell my where is main index file where zencart loads the home page?
thanks
Answered in your other post on the same topic, here: http://www.zen-cart.com/forum/showth...61#post1093461
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.