diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-10-22 23:07:25 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-10-22 23:07:25 +0200 |
commit | 3a169c7c01eeba01678ab5c9d88b4d6e8786b36e (patch) | |
tree | 201f37de0d018d3332e16030118bf680b5946941 /application/views/header.php | |
parent | 2fcdedfbfda6d351f95d0a55c2ce360f71da36a4 (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.php | 6 |
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> |