Project

General

Profile

1
<?php
2
/**
3
 *
4
 * @category        admin
5
 * @package         interface
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, 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 5.2.2 and higher
13
 * @version         $Id: er_levels.php 1715 2012-08-29 13:06:18Z Luisehahne $
14
 * @filesource      $HeadURL: svn://isteam.dynxs.de/wb-archiv/branches/2.8.x/wb/admin/interface/er_levels.php $
15
 * @lastmodified    $Date: 2012-08-29 15:06:18 +0200 (Wed, 29 Aug 2012) $
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['0'] = 'E_NONE';
43
//$ER_LEVELS['6143'] = 'E_ALL';
44
//$ER_LEVELS['6135'] = 'E_ALL^E_NOTICE'; // standard: E_ALL without E_NOTICE
45
//$ER_LEVELS['8191'] = htmlentities('E_ALL&E_STRICT'); // for programmers
46
//
47
$ER_LEVELS[''] = $TEXT['SYSTEM_DEFAULT'];
48
$ER_LEVELS[0] = 'E_NONE';
49
$ER_LEVELS[E_ALL^E_NOTICE] = 'E_ALL^E_NOTICE'; // standard: E_ALL without E_NOTICE
50
$ER_LEVELS[E_ALL] = 'E_ALL ->'.' PHP'.phpversion();
51
$ER_LEVELS[-1] = 'E_ALL';
(3-3/7)