vogelor
2008-12-18 abc09ddbb12d4332a08b115e1b69baec9a1b030a
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;
   }
}
?>