Add a check for the php5-json extension (some Ubuntu based linux don't have it installed automatically). Reported by Mario.

This commit is contained in:
Sébastien Lucas 2014-05-28 16:05:33 +02:00
rodzic 04dfef3222
commit 81fbe584db
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -85,6 +85,18 @@
?>
</h4>
</article>
<article class="frontpage">
<h2>Check if Json is properly installed and loaded</h2>
<h4>
<?php
if (extension_loaded('json')) {
echo "OK";
} else {
echo "Please install the php5-json extension and make sure it's enabled";
}
?>
</h4>
</article>
<article class="frontpage">
<h2>Check if mbstring is properly installed and loaded</h2>
<h4>