Browse Source

disabled elog command

Thomas Thümmler 1 year ago
parent
commit
f2f1dd7ae0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      patchpanel/index.php

+ 4 - 1
patchpanel/index.php

@@ -206,7 +206,10 @@
            
             $ToBeExec = 'echo "' . $ElogEntry . '" | elog -h localhost -p 8080 -l main-spectrometer -v -u sds-operator mainspec.13 -a Author="' . $ElogAuthor . '" -a Email=katrin-sds-status@lists.kit.edu -a Type=Routine -a Category=General -a Subject="' . $ElogConfig . '" -x -n 2'; 
           
-			shell_exec($ToBeExec);
+          	echo "<script>window.open(' . $ToBEExec . ')</script>";
+          
+            // currently not working due to server change 
+			//shell_exec($ToBeExec); 
         }
       
 	}