ups... coś nie wyszło. Teraz powinno być ok. To samo co poprzedni commit.
[watermeloncms.git] / cms / index.php
blobe4c6e599ecef8d95d11c7a71924b19f0a89f7c74
1 <?php
2 /********************************************************************
4 Watermelon CMS
6 Copyright 2008 Radosław Pietruszewski
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 version 2 as published by the Free Software Foundation.
12 This program 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.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 ********************************************************************/
23 $_w_startTime = microtime();
24 session_start();
25 ob_start();
28 * dla zwykłych userów
31 //error_reporting(E_ALL ^ E_NOTICE);
34 * dla developerów
37 //error_reporting(E_ALL);
40 * dla developerów [pedantic mode]
43 error_reporting(E_ALL | E_STRICT);
46 * dla różnych testów itp
49 //define('NOMENU', '');
52 * dla developerów
55 define('DEBUG', '');
57 include 'config.php';
59 include WTRMLN_CMSPATH . 'system.php';