Code

Added one more name check
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Feb 2006 12:15:48 +0000 (12:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 21 Feb 2006 12:15:48 +0000 (12:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2712 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiManagement.inc

index 6c521fa0a19f9ab158b0ac90e30813cc3588eb0d..5c5e6af9d1606c38be84c4bb61f9bd41796e75fa 100644 (file)
@@ -1026,6 +1026,11 @@ class faiManagement extends plugin
     if(empty($name)){
       return(false);
     }
+    
+    if(in_array($name,array("fai","disk","packages","scripts","templates","hooks","variables","profiles"))){
+      return(false);
+    }
+  
     return(true);
   }