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:
parent
04dfef3222
commit
81fbe584db
|
@ -85,6 +85,18 @@
|
||||||
?>
|
?>
|
||||||
</h4>
|
</h4>
|
||||||
</article>
|
</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">
|
<article class="frontpage">
|
||||||
<h2>Check if mbstring is properly installed and loaded</h2>
|
<h2>Check if mbstring is properly installed and loaded</h2>
|
||||||
<h4>
|
<h4>
|
||||||
|
|
Loading…
Reference in a new issue