Fixed fortune view : added content type and fortune url in benchmark config
@@ -67,6 +67,7 @@ class BenchController extends AbstractBaseController
return -1;
}
});
+ header('Content-Type: text/html; charset=utf-8');
$this->render('fortunes', array(
'fortunes' => $fortunes
));
@@ -1,6 +1,9 @@
<!DOCTYPE html>
<html>
-<head><title>Fortunes</title></head>
+<head>
+ <title>Fortunes</title>
+</head>
+
<body>
<table>
<tr>
@@ -17,4 +20,4 @@
</table>
</body>
-</html>
+</html>
@@ -24,6 +24,7 @@
"setup_file": "setup",
"db_url": "/index.php/bench/db",
"query_url": "/index.php/bench/queries/",
+ "fortune_url": "/index.php/bench/fortunes",
"port": 8080,
"approach": "Realistic",
"classification": "Fullstack",