Browse Source

Added header content type

sanjoydesk 9 years ago
parent
commit
c69d3655ab

+ 1 - 0
frameworks/PHP/cygnite-php-framework/apps/controllers/BenchController.php

@@ -67,6 +67,7 @@ class BenchController extends AbstractBaseController
                 return -1;
             }
         });
+		header('Content-Type: text/html; charset=utf-8');
         $this->render('fortunes', array(
                 'fortunes' => $fortunes
         ));

+ 0 - 1
frameworks/PHP/cygnite-php-framework/apps/views/bench/fortunes.view.php

@@ -2,7 +2,6 @@
 <html>
 <head>
     <title>Fortunes</title>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 </head>
 
 <body>