| 1 | 
        
            4
         | 
        
            ryan
         | 
        <?php
  | 
      
      
        | 2 | 
        
         | 
        
         | 
        
  | 
      
      
        | 3 | 
        
         | 
        
         | 
        // $Id: er_levels.php,v 1.1.1.1 2005/01/30 10:30:21 rdjurovich Exp $
  | 
      
      
        | 4 | 
        
         | 
        
         | 
        
  | 
      
      
        | 5 | 
        
         | 
        
         | 
        /*
  | 
      
      
        | 6 | 
        
         | 
        
         | 
        
  | 
      
      
        | 7 | 
        
         | 
        
         | 
         Website Baker Project <http://www.websitebaker.org/>
  | 
      
      
        | 8 | 
        
         | 
        
         | 
         Copyright (C) 2004-2005, 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 | 
        
         | 
        
         | 
        // Define that this file is loaded
  | 
      
      
        | 36 | 
        
         | 
        
         | 
        if(!defined('ERROR_REPORTING_LEVELS_LOADED')) {
 | 
      
      
        | 37 | 
        
         | 
        
         | 
        	define('ERROR_REPORTING_LEVELS_LOADED', true);
 | 
      
      
        | 38 | 
        
         | 
        
         | 
        }
  | 
      
      
        | 39 | 
        
         | 
        
         | 
        
  | 
      
      
        | 40 | 
        
         | 
        
         | 
        // Create array
  | 
      
      
        | 41 | 
        
         | 
        
         | 
        $ER_LEVELS = array();
  | 
      
      
        | 42 | 
        
         | 
        
         | 
        
  | 
      
      
        | 43 | 
        
         | 
        
         | 
        // Add values to list
  | 
      
      
        | 44 | 
        
         | 
        
         | 
        if(isset($TEXT['SYSTEM_DEFAULT'])) {
 | 
      
      
        | 45 | 
        
         | 
        
         | 
        	$ER_LEVELS[''] = $TEXT['SYSTEM_DEFAULT'];
  | 
      
      
        | 46 | 
        
         | 
        
         | 
        } else {
 | 
      
      
        | 47 | 
        
         | 
        
         | 
        	$ER_LEVELS[''] = 'System Default';
  | 
      
      
        | 48 | 
        
         | 
        
         | 
        }
  | 
      
      
        | 49 | 
        
         | 
        
         | 
        $ER_LEVELS['E_ERROR'] = 'E_ERROR';
  | 
      
      
        | 50 | 
        
         | 
        
         | 
        $ER_LEVELS['E_WARNING'] = 'E_WARNING';
  | 
      
      
        | 51 | 
        
         | 
        
         | 
        $ER_LEVELS['E_PARSE'] = 'E_PARSE';
  | 
      
      
        | 52 | 
        
         | 
        
         | 
        $ER_LEVELS['E_NOTICE'] = 'E_NOTICE';
  | 
      
      
        | 53 | 
        
         | 
        
         | 
        $ER_LEVELS['E_CORE_ERROR'] = 'E_CORE_ERROR';
  | 
      
      
        | 54 | 
        
         | 
        
         | 
        $ER_LEVELS['E_CORE_WARNING'] = 'E_CORE_WARNING';
  | 
      
      
        | 55 | 
        
         | 
        
         | 
        $ER_LEVELS['E_COMPILE_ERROR'] = 'E_COMPILE_ERROR';
  | 
      
      
        | 56 | 
        
         | 
        
         | 
        $ER_LEVELS['E_COMPILE_WARNING'] = 'E_COMPILE_WARNING';
  | 
      
      
        | 57 | 
        
         | 
        
         | 
        $ER_LEVELS['E_USER_ERROR'] = 'E_USER_ERROR';
  | 
      
      
        | 58 | 
        
         | 
        
         | 
        $ER_LEVELS['E_USER_WARNING'] = 'E_USER_WARNING';
  | 
      
      
        | 59 | 
        
         | 
        
         | 
        $ER_LEVELS['E_USER_NOTICE'] = 'E_USER_NOTICE';
  | 
      
      
        | 60 | 
        
         | 
        
         | 
        $ER_LEVELS['E_ALL'] = 'E_ALL';
  | 
      
      
        | 61 | 
        
         | 
        
         | 
        $ER_LEVELS['E_STRICT'] = 'E_STRICT';
  | 
      
      
        | 62 | 
        
         | 
        
         | 
        
  | 
      
      
        | 63 | 
        
         | 
        
         | 
        ?>
  |