[ Index ] |
|
Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1 |
1 <?php 2 /** 3 * index.php -- This is the main hub file for the Zen Cart installer * 4 * @package Installer 5 * @access private 6 * @copyright Copyright 2003-2006 Zen Cart Development Team 7 * @copyright Portions Copyright 2003 osCommerce 8 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 9 * @version $Id: index.php 4022 2006-07-25 01:07:37Z drbyte $ 10 */ 11 12 define('IS_ADMIN_FLAG',false); 13 require ('includes/application_top.php'); 14 15 /* This is for debug purposes to run installer from SSH command line. Set to true to enable it: */ 16 if (false) { 17 if ($argc > 0) { 18 for ($i=1;$i<$argc;$i++) { 19 $it = split("=",$argv[$i]); 20 $_GET[$it[0]] = $it[1]; 21 // parse_str($argv[$i],$tmp); 22 // $_REQUEST = array_merge($_REQUEST, $tmp); 23 } 24 } 25 } 26 27 if (!isset($_GET['main_page']) || !zen_not_null($_GET['main_page'])) $_GET['main_page'] = 'index'; 28 $current_page = $_GET['main_page']; 29 $page_directory = 'includes/modules/pages/' . $current_page; 30 $language_page_directory = 'includes/languages/' . $language . '/'; 31 require('includes/languages/' . $language . '.php'); 32 33 // init vars: 34 $zc_first_field = ''; 35 36 // lang must be loaded before the header module 37 require('includes/languages/' . $language . '/' . $current_page . '.php'); 38 require($page_directory . '/header_php.php'); 39 40 require(DIR_WS_INSTALL_TEMPLATE . 'common/html_header.php'); 41 require(DIR_WS_INSTALL_TEMPLATE . 'common/main_template_vars.php'); 42 require(DIR_WS_INSTALL_TEMPLATE . 'common/tpl_main_page.php'); 43 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 16:45:43 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |