#!/usr/bin/php -q 0) { // So that "'" doesn't show up in email $event = str_replace("'","'",_("Language")." - $lang [$new]"); $subject = str_replace("'","'",sprintf(_("Notice [%s] - Version update %s"),$server,$new)); $description = str_replace("'","'",sprintf(_("A new version of %s is available"),$lang)); exec("$notify -e ".escapeshellarg($event)." -s ".escapeshellarg($subject)." -d ".escapeshellarg($description)." -i ".escapeshellarg("normal $output")." -l '/Apps' -x"); } } exit(0); ?>