[ Index ]
 

Code source de Dotclear 2.0-beta6

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/inc/clearbricks/common/ -> _main.php (source)

   1  <?php
   2  # ***** BEGIN LICENSE BLOCK *****
   3  # This file is part of Clearbricks.
   4  # Copyright (c) 2006 Olivier Meunier and contributors.
   5  # All rights reserved.
   6  #
   7  # Clearbricks 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  # Clearbricks 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 Clearbricks; if not, write to the Free Software
  19  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  20  #
  21  # ***** END LICENSE BLOCK *****
  22  /**
  23  @defgroup CLEARBRICKS Clearbricks classes
  24  */
  25  
  26  define('CLEARBRICKS_VERSION','0.8');
  27  
  28  # Autoload
  29  $__autoload = array(
  30      'crypt'            => dirname(__FILE__).'/lib.crypt.php',
  31      'dt'                => dirname(__FILE__).'/lib.date.php',
  32      'files'            => dirname(__FILE__).'/lib.files.php',
  33      'path'            => dirname(__FILE__).'/lib.files.php',
  34      'form'            => dirname(__FILE__).'/lib.form.php',
  35      'formSelectOption'    => dirname(__FILE__).'/lib.form.php',
  36      'html'            => dirname(__FILE__).'/lib.html.php',
  37      'http'            => dirname(__FILE__).'/lib.http.php',
  38      'text'            => dirname(__FILE__).'/lib.text.php'
  39  );
  40  
  41  function __autoload($name)
  42  {
  43      global $__autoload;
  44      
  45      if (isset($__autoload[$name])) {
  46          require_once $__autoload[$name];
  47      }
  48  }
  49  
  50  # We only need l10n __() function
  51  require_once dirname(__FILE__).'/lib.l10n.php';
  52  
  53  # We set default timezone to avoid warning
  54  dt::setTZ('UTC');
  55  ?>


Généré le : Fri Feb 23 22:16:06 2007 par Balluche grâce à PHPXref 0.7