Add a checkconfig test to show which rendering engine is used.

This commit is contained in:
Sébastien Lucas 2013-09-03 14:30:57 +02:00
parent 94a5da10f2
commit c0d54591eb

View file

@ -83,6 +83,18 @@
?> ?>
</h4> </h4>
</article> </article>
<article class="frontpage">
<h2>Check if the rendering will be done on client side or server side</h2>
<h4>
<?php
if (useServerSideRendering ()) {
echo "Server side rendering";
} else {
echo "Client side rendering";
}
?>
</h4>
</article>
<?php <?php
$i = 0; $i = 0;
foreach (Base::getDbList () as $name => $database) { foreach (Base::getDbList () as $name => $database) {