diff options
Diffstat (limited to 'error.php')
| -rw-r--r-- | error.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,5 @@ <?php header($_SERVER['SERVER_PROTOCOL'] . " 404 Not Found");?> +<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?> <!doctype html> <html> @@ -9,9 +10,11 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css"> - <link rel="stylesheet" href="/css/style.css"> + <style><?php echo file_get_contents('./css/style.min.css'); ?></style> <?php require_once("static/noscript.html"); ?> </head> +<?php ob_end_flush(); ?> +<?php ob_start(function($b){return preg_replace(['/\>[^\S ]+/s','/[^\S ]+\</s','/(\s)+/s'],['>','<','\\1'],$b);}); ?> <body> <?php require_once("static/header.php"); ?> <div class="container"> @@ -24,4 +27,4 @@ </div> </div> <?php require_once("static/foot.php"); ?> - +<?php ob_end_flush(); ?> |
