Thread: Index.php file,

Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Location
    Yate South Gloucestershire
    Posts
    40
    Plugin Contributions
    0

    Default Index.php file,

    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.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: Index.php file,

    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

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: Index.php file,

    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

  4. #4
    Join Date
    Mar 2009
    Location
    Serbia
    Posts
    349
    Plugin Contributions
    0

    Default Re: Index.php file,

    Hi, schoolboy

    can you tell my where is main index file where zencart loads the home page?

    thanks

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Index.php file,

    Quote Originally Posted by kobra8 View Post
    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.

 

 

Similar Threads

  1. index.php file
    By kmorganics in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Oct 2011, 03:45 AM
  2. Index.php file lost
    By kmorganics in forum Basic Configuration
    Replies: 1
    Last Post: 13 Oct 2011, 06:26 PM
  3. Moving index.php file
    By bjdav5 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Feb 2010, 12:59 AM
  4. missing index.php file
    By geosstuff in forum General Questions
    Replies: 4
    Last Post: 6 Jul 2008, 10:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg