Code

Appliction execute path must start with / now
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 31 Mar 2006 06:19:17 +0000 (06:19 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 31 Mar 2006 06:19:17 +0000 (06:19 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2939 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationGeneric.inc

index 3e780faa432459536427a3e17086316fa5627594..e1e3582b3bbbe99cdec53df83f269fe126086041 100644 (file)
@@ -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;