install/lib/install.lib.php
@@ -31,7 +31,6 @@ /* This function returns a string that describes the installed linux distribution. e.g. debian40 for Debian Linux 4.0 */ @@ -555,6 +554,15 @@ } } function is_installed($appname) { exec('which '.escapeshellcmd($appname),$out); if(isset($out[0]) && stristr($out[0],$appname)) { return true; } else { return false; } } ?>