Merge pull request #3 from seblucas/master
Add a checkconfig test to show which rendering engine is used.
This commit is contained in:
commit
400936183f
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue