#!/usr/bin/php -q 0 && !version_compare($min,$current['version'],">")) { $event = apos(_("Plugin")." - $name [$new]"); $subject = apos(sprintf(_("Notice [%s] - Version update %s"),$server,$new)); $description = apos(sprintf(_("A new version of %s is available"),$name)); exec("$script -e ".escapeshellarg($event)." -s ".escapeshellarg($subject)." -d ".escapeshellarg($description)." -i ".escapeshellarg("normal $output")." -l '/Plugins' -x"); } } exit(0); ?>