& seams to be deprecated - whats up with that? still workin now?

This commit is contained in:
Ulf Gebhardt 2013-12-21 04:12:14 +01:00
parent a256e8a4bb
commit c652ed16b7
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ class log {
public static function __fatal_error_handler($bufferContent, $thrown = true){
$errors = array();
if ( preg_match('|<phpfatalerror>.*</phpfatalerror>|s', $bufferContent, &$errors) ){
if ( preg_match('|<phpfatalerror>.*</phpfatalerror>|s', $bufferContent, $errors) ){
$error = strip_tags($errors[0]);
$error = substr($error,1,strlen($error)-2);
$file = substr($error,strpos($error,' in ')+5,strpos($error,' on ')-5-strpos($error,' in '));

View File

@ -6,7 +6,7 @@ class HEADER {
private static function checkHeader(){
$file = null;
$line = null;
if(headers_sent(&$file, &$line)){
if(headers_sent($file, $line)){
throw new \SYSTEM\LOG\ERROR('Header already sent @ '.$file.' line '.$line);}
}