From: hickert Date: Fri, 31 Mar 2006 06:19:17 +0000 (+0000) Subject: Appliction execute path must start with / now X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d69c3527a206fc12a3f3100821a7595de87635a8;p=gosa.git Appliction execute path must start with / now git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2939 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index 3e780faa4..e1e3582b3 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -284,6 +284,10 @@ class application extends plugin { $message= array(); + if(!preg_match("#^/#",$this->gosaApplicationExecute)){ + print_red(_("Specified execute path must start with '/'.")); + } + /* Permissions for that base? */ if ($this->base != ""){ $new_dn= "cn=".$this->cn.",ou=apps,".$this->base;