[ Index ]
 

Code source de Zen Cart E-Commerce Shopping Cart 1.3.7.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/includes/init_includes/ -> init_tlds.php (source)

   1  <?php
   2  /**

   3   * set some top level domain variables

   4   * see {@link  http://www.zen-cart.com/wiki/index.php/Developers_API_Tutorials#InitSystem wikitutorials} for more details.

   5   *

   6   * @package initSystem

   7   * @copyright Copyright 2003-2005 Zen Cart Development Team

   8   * @copyright Portions Copyright 2003 osCommerce

   9   * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

  10   * @version $Id: init_tlds.php 2753 2005-12-31 19:17:17Z wilt $

  11   */
  12  if (!defined('IS_ADMIN_FLAG')) {
  13   die('Illegal Access');
  14  } 
  15  $http_domain = zen_get_top_level_domain(HTTP_SERVER);
  16  $https_domain = zen_get_top_level_domain(HTTPS_SERVER);
  17  $current_domain = (($request_type == 'NONSSL') ? $http_domain : $https_domain);
  18  if (SESSION_USE_FQDN == 'False') $current_domain = '.' . $current_domain;
  19  ?>


Généré le : Mon Nov 26 16:45:43 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics