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

/manager/install/ -> 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  require_once '../path.php'; //get the path to the manager
  24  require_once $_PX_config['manager_path'].'/inc/class.l10n.php';
  25  require_once $_PX_config['manager_path'].'/inc/class.checklist.php';
  26  require_once $_PX_config['manager_path'].'/inc/class.files.php';
  27  require_once $_PX_config['manager_path'].'/inc/class.manager.php';
  28  require_once $_PX_config['manager_path'].'/inc/lib.utils.php';
  29  require_once $_PX_config['manager_path'].'/inc/lib.sqlutils.php';
  30  require_once $_PX_config['manager_path'].'/inc/lib.form.php';
  31  require_once $_PX_config['manager_path'].'/extinc/class.mysql.php';
  32  require_once $_PX_config['manager_path'].'/extinc/class.configfile.php';
  33  require_once $_PX_config['manager_path'].'/extinc/lib.form.php';
  34  require_once $_PX_config['manager_path'].'/extinc/class.xmlsql.php';
  35  
  36  if(!empty($_GET)) {
  37      array_walk($_GET,'magicStrip');
  38  }
  39  if(!empty($_POST)) {
  40      array_walk($_POST,'magicStrip');
  41  }
  42  if(!empty($_REQUEST)) {
  43      array_walk($_REQUEST,'magicStrip');
  44  }
  45  if(!empty($_COOKIE)) {
  46      array_walk($_COOKIE,'magicStrip');
  47  }
  48  
  49  session_start();
  50  
  51  ?>


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