Add a checkconfig test to show which rendering engine is used.
This commit is contained in:
parent
94a5da10f2
commit
c0d54591eb
|
@ -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