function install_zarafawebapp($servername) { $free = new freeweb($servername); if ($free->groupware != "WEBAPP") { writelogs("[{$servername}] {$free->groupware} <> WEBAPP, aborting", __FUNCTION__, __FILE__, __LINE__); return; } $free->InstallZarafaWebAPP($servername); }