[ Index ] |
|
Code source de Dotclear 1.2.5 |
1 <?php 2 # ***** BEGIN LICENSE BLOCK ***** 3 # This file is part of DotClear. 4 # Copyright (c) 2004 Olivier Meunier and contributors. All rights 5 # reserved. 6 # 7 # DotClear 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 # DotClear 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 DotClear; 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 /*DEBUG_FLAG 24 define('DEBUG',1); 25 //*/ 26 27 # If you rename "ecrire" folder, change this const 28 # You'll have to rename it in install/prepend.php too 29 # 30 if (!defined('DC_ECRIRE')) { 31 define('DC_ECRIRE','ecrire'); 32 } 33 34 if (defined('DEBUG') && DEBUG == 1) { 35 @ini_set('display_errors','on'); 36 error_reporting(E_ALL); 37 } 38 39 if (!file_exists(dirname(__FILE__).'/../conf/config.php') || 40 !file_exists(dirname(__FILE__).'/../conf/dotclear.ini')) { 41 header('Content-Type: text/plain'); 42 echo 'Weblog not configured yet'; 43 exit; 44 } 45 46 require_once dirname(__FILE__).'/magic_strip.php'; 47 48 require_once dirname(__FILE__).'/classes/class.mysql.php'; 49 require_once dirname(__FILE__).'/classes/class.blog.php'; 50 require_once dirname(__FILE__).'/classes/class.wiki2xhtml.php'; 51 require_once dirname(__FILE__).'/classes/class.plugins.php'; 52 require_once dirname(__FILE__).'/libs/lib.compat.php'; 53 require_once dirname(__FILE__).'/libs/lib.form.php'; 54 require_once dirname(__FILE__).'/libs/lib.util.php'; 55 require_once dirname(__FILE__).'/libs/lib.files.php'; 56 require_once dirname(__FILE__).'/libs/lib.date.php'; 57 58 require dirname(__FILE__).'/../conf/config.php'; 59 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Fri Feb 23 21:40:15 2007 | par Balluche grâce à PHPXref 0.7 |