Project

General

Profile

« Previous | Next » 

Revision 1326

Added by Dietmar about 14 years ago

Update headerinfos admin/interface

View differences:

er_levels.php
1
<?php
2

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26
/*
27

  
28
Error Reporting Level's list file
29

  
30
This file is used to generate a list of PHP
31
Error Reporting Level's for the user to select
32

  
33
*/
34

  
35
if(!defined('WB_URL')) {
36
	header('Location: ../index.php');
37
	exit(0);
38
}
39

  
40
// Define that this file is loaded
41
if(!defined('ERROR_REPORTING_LEVELS_LOADED')) {
42
	define('ERROR_REPORTING_LEVELS_LOADED', true);
43
}
44

  
45
// Create array
46
$ER_LEVELS = array();
47

  
48
// Add values to list
49
if(isset($TEXT['SYSTEM_DEFAULT'])) {
50
	$ER_LEVELS[''] = $TEXT['SYSTEM_DEFAULT'];
51
} else {
52
	$ER_LEVELS[''] = 'System Default';
53
}
54
$ER_LEVELS['6135'] = 'E_ALL^E_NOTICE'; // standard: E_ALL without E_NOTICE
55
$ER_LEVELS['0'] = 'E_NONE';
56
$ER_LEVELS['6143'] = 'E_ALL';
57
$ER_LEVELS['8191'] = htmlentities('E_ALL&E_STRICT'); // for programmers
58

  
1
<?php
2
/**
3
 *
4
 * @category        admin
5
 * @package         interface
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2010, Website Baker Org. e.V.
9
 * @link            http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 4.4.9 and higher
13
 * @version         $Id$
14
 * @filesource      $HeadURL$
15
 * @lastmodified    $Date$
16
 *
17
 * Error Reporting Level's list file
18
 * This file is used to generate a list of PHP
19
 * Error Reporting Level's for the user to select
20
 *
21
 */
22

  
23
if(!defined('WB_URL')) {
24
	header('Location: ../index.php');
25
	exit(0);
26
}
27

  
28
// Define that this file is loaded
29
if(!defined('ERROR_REPORTING_LEVELS_LOADED')) {
30
	define('ERROR_REPORTING_LEVELS_LOADED', true);
31
}
32

  
33
// Create array
34
$ER_LEVELS = array();
35

  
36
// Add values to list
37
if(isset($TEXT['SYSTEM_DEFAULT'])) {
38
	$ER_LEVELS[''] = $TEXT['SYSTEM_DEFAULT'];
39
} else {
40
	$ER_LEVELS[''] = 'System Default';
41
}
42
$ER_LEVELS['6135'] = 'E_ALL^E_NOTICE'; // standard: E_ALL without E_NOTICE
43
$ER_LEVELS['0'] = 'E_NONE';
44
$ER_LEVELS['6143'] = 'E_ALL';
45
$ER_LEVELS['8191'] = htmlentities('E_ALL&E_STRICT'); // for programmers
46

  
59 47
?>
60 48

  

Also available in: Unified diff