summaryrefslogtreecommitdiff
path: root/error.php
diff options
context:
space:
mode:
authorroot2014-09-14 19:00:10 +0200
committerroot2014-09-14 19:00:10 +0200
commit1eba482c5172a92432c13e04480cb1604bef6df0 (patch)
treed18149777a4ddd7f0b50d6be57acee42bfc0b080 /error.php
parent1ae8d5fa2c627cf179c7b6aa1202304f55a00654 (diff)
downloadvideo-dl-1eba482c5172a92432c13e04480cb1604bef6df0.tar.gz
modified
Diffstat (limited to 'error.php')
-rw-r--r--error.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/error.php b/error.php
index 48f80ce..3265184 100644
--- a/error.php
+++ b/error.php
@@ -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(); ?>