Hi Giulio,
well I consider myself more of a dummy :-)
anyway, try to add the below to the code... haven't tested it though,
but should work...
ciao
Luca
//Check extensions
$errors=0;
if(!extension_loaded('bcmath')){
echo '<b>BCmath extension seems to be missing please check your
PHP installation</b><br>';
echo 'More info here - BCMath: <a href="
http://it.php.net/bc">http://
it.php.net/bc</a><br>';
$errors++;
}
if(!extension_loaded('json')){
echo '<b>JSON extension seems to be missing please check your PHP
installation</b><br>';
echo 'More info here - JSON: <a href="
http://aurore.net/projects/php-
json/">
http://aurore.net/projects/php-json/</a><br>';
$errors++;
}
if(!extension_loaded('pdo')){
echo '<b>PDO extension seems to be missing please check your PHP
installation</b><br>';
echo 'More info here - PDO: <a href="
http://ca.php.net/pdo">http://
ca.php.net/pdo</a><br>';
$errors++;
}
if ($errors > 0){
echo '<b>You seem to be missing '.$errors.' extension/s that are
fundamental for the installation of Clipperz</b>';
die();
}
On Nov 5, 9:59 am, "Giulio Cesare Solaroli" <
giulio.ces...@gmail.com>
wrote:
> Hello Luca,
>
> thanks for the suggestion, but we are definitely not PHP experts. Any
> contribution on how to improve the community edition code is very
> welcome! :-)
>
> Regards,
>
> Giulio Cesare
>