[ Index ]
 

Code source de Plume CMS 1.2.2

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/ -> prepend.php (source)

   1  <?php
   2  /*
   3  # ***** BEGIN LICENSE BLOCK *****
   4  # This file is part of Plume CMS, a website management application.
   5  # Copyright (C) 2001-2005 Loic d'Anterroches and contributors.
   6  #
   7  # Plume CMS is free software; you can redistribute it and/or modify
   8  # it under the terms of the GNU General Public License as published by
   9  # the Free Software Foundation; either version 2 of the License, or
  10  # (at your option) any later version.
  11  #
  12  # Plume CMS is distributed in the hope that it will be useful,
  13  # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15  # GNU General Public License for more details.
  16  #
  17  # You should have received a copy of the GNU General Public License
  18  # along with this program; if not, write to the Free Software
  19  # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  20  #
  21  # ***** END LICENSE BLOCK ***** */
  22  
  23  if (basename($_SERVER['SCRIPT_NAME']) == 'prepend.php') exit;
  24  
  25  include_once $_PX_config['manager_path'].'/conf/config.php';
  26  include_once $_PX_config['manager_path'].'/inc/class.config.php';
  27  include_once $_PX_config['manager_path'].'/inc/lib.text.php';
  28  include_once $_PX_config['manager_path'].'/inc/class.hook.php';
  29  include_once $_PX_config['manager_path'].'/inc/class.dispatcher.php';
  30  include_once $_PX_config['manager_path'].'/inc/class.rss.php';
  31  include_once $_PX_config['manager_path'].'/inc/class.search.php';
  32  include_once $_PX_config['manager_path'].'/inc/class.error404.php';
  33  include_once $_PX_config['manager_path'].'/inc/class.category.php';
  34  include_once $_PX_config['manager_path'].'/inc/class.resource.php';
  35  include_once $_PX_config['manager_path'].'/inc/class.news.php';
  36  include_once $_PX_config['manager_path'].'/inc/class.article.php';
  37  include_once $_PX_config['manager_path'].'/inc/class.resourceset.php';
  38  include_once $_PX_config['manager_path'].'/inc/lib.frontend.php';
  39  include_once $_PX_config['manager_path'].'/inc/lib.sql.php';
  40  include_once $_PX_config['manager_path'].'/inc/class.paginator.php';
  41  include_once $_PX_config['manager_path'].'/inc/class.cache.php';
  42  include_once $_PX_config['manager_path'].'/inc/class.sitemap.php';
  43  
  44  
  45  if(!empty($_GET)) {
  46      array_walk($_GET,'magicStrip');
  47  }
  48  if(!empty($_POST)) {
  49      array_walk($_POST,'magicStrip');
  50  }
  51  if(!empty($_REQUEST)) {
  52      array_walk($_REQUEST,'magicStrip');
  53  }
  54  if(!empty($_COOKIE)) {
  55      array_walk($_COOKIE,'magicStrip');
  56  }
  57  
  58  ?>


Généré le : Mon Nov 26 11:57:01 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics