detect
This commit is contained in:
@@ -298,6 +298,10 @@ function muestra_breadcrumb($record = array(), $previousLinks = array(),$class =
|
||||
echo '</nav>';
|
||||
}
|
||||
|
||||
function detect_error_on_code($code) {
|
||||
preg_match_all('/\b(Fatal error|Parse error|Warning|Notice):.*?\b/i', $code, $matches);
|
||||
return @$matches[0];
|
||||
}
|
||||
function error_html($error, $a404 = false) {
|
||||
$result = '';
|
||||
$icon = '
|
||||
|
||||
Reference in New Issue
Block a user