summaryrefslogtreecommitdiffstats
path: root/application/views/header.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-10-22 23:07:25 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-10-22 23:07:25 +0200
commit3a169c7c01eeba01678ab5c9d88b4d6e8786b36e (patch)
tree201f37de0d018d3332e16030118bf680b5946941 /application/views/header.php
parent2fcdedfbfda6d351f95d0a55c2ce360f71da36a4 (diff)
Don't send a cli client unwanted HTML code
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/header.php')
-rw-r--r--application/views/header.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/application/views/header.php b/application/views/header.php
index 4f2c46e79..2e978bda2 100644
--- a/application/views/header.php
+++ b/application/views/header.php
@@ -1,4 +1,8 @@
-<!DOCTYPE html>
+<?php
+if (is_cli_client() && !isset($force_full_html)) {
+ return;
+}
+?><!DOCTYPE html>
<html lang="en">
<head>