[ 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]

/admin/includes/init_includes/ -> init_general_funcs.php (source)

   1  <?php
   2  /**

   3   * @package admin

   4   * @copyright Copyright 2003-2006 Zen Cart Development Team

   5   * @copyright Portions Copyright 2003 osCommerce

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

   7   * @version $Id: init_general_funcs.php 6526 2007-06-25 22:59:38Z drbyte $

   8   */
   9  if (!defined('IS_ADMIN_FLAG')) {
  10    die('Illegal Access');
  11  }
  12  /**

  13   * load the system wide functions

  14   *

  15   * @package admin

  16   * @copyright Copyright 2003-2005 zen-cart Development Team

  17   * @copyright Portions Copyright 2003 osCommerce

  18  **/
  19  // customization for the design layout

  20    define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125)

  21  
  22  // Define how do we update currency exchange rates

  23  // Possible values are 'oanda' 'xe' or ''

  24    define('CURRENCY_SERVER_PRIMARY', 'oanda');
  25    define('CURRENCY_SERVER_BACKUP', 'xe');
  26  
  27  // include the database functions

  28    require(DIR_WS_FUNCTIONS . 'database.php');
  29  
  30  // define our general functions used application-wide

  31    require(DIR_WS_FUNCTIONS . 'general.php');
  32    require (DIR_WS_FUNCTIONS . 'functions_prices.php');
  33    require(DIR_WS_FUNCTIONS . 'html_output.php');
  34    require(DIR_FS_CATALOG . DIR_WS_FUNCTIONS . 'functions_email.php');
  35  
  36  /**

  37   * Per-Page meta-tag editing functions

  38   */
  39  require(DIR_WS_FUNCTIONS . 'functions_metatags.php');
  40  
  41  
  42  // include the list of extra functions

  43    if ($za_dir = @dir(DIR_WS_FUNCTIONS . 'extra_functions')) {
  44      while ($zv_file = $za_dir->read()) {
  45        if (strstr($zv_file, '.php')) {
  46          require(DIR_WS_FUNCTIONS . 'extra_functions/' . $zv_file);
  47        }
  48      }
  49      $za_dir->close();
  50    }
  51  if (isset($_GET) & sizeof($_GET) > 0 ) {
  52    foreach ($_GET as $key=>$value) {
  53      $_GET[$key] = strip_tags($value);
  54    }
  55  }
  56  ?>


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