Commit 24a5d2dd authored by Ewald's avatar Ewald
Browse files

new deletion routine

parent 0b7d983e
......@@ -158,10 +158,7 @@ function pdf_error($test_id,$override){
$contents = file_get_contents($file);
//Array for possible errors and their respective return values
$searchfor = [
["504 Gateway Time-out" , 18],
["FEHLER: [2] imagecreatefrom", 2]
];
$searchfor = [["504 Gateway Time-out" , 18],["FEHLER: [2] imagecreatefrom", 2]];
foreach($searchfor as list ($errtext,$retval)) {
$pattern = preg_quote($errtext, '/'); // escape special characters in the query
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment