Changeset 326

Show
Ignore:
Timestamp:
03/02/07 17:03:00 (2 years ago)
Author:
schst
Message:

Fixed HTTP status

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/util/stubExceptionHandler.php

    r325 r326  
    22/** 
    33 * the default exception handler 
    4  *  
     4 * 
    55 * @author      Frank Kleine <mikey@stubbles.net> 
    66 * @package     stubbles 
     
    1313/** 
    1414 * the default exception handler 
    15  *  
     15 * 
    1616 * @package     stubbles 
    1717 * @subpackage  util 
     
    2626        set_exception_handler(array(__CLASS__, 'handle')); 
    2727    } 
    28      
     28 
    2929    /** 
    3030     * handles the exception 
     
    4343            $response->send(); 
    4444        } else { 
    45             header('HTTP/1.0 500 Internet Server Error'); 
     45            header('HTTP/1.0 500 Internal Server Error'); 
    4646        } 
    4747    } 
    48      
     48 
    4949    /** 
    5050     * does the preprocessing stuff