Zachary Kotlarek пре 12 година
родитељ
комит
f155a7a099
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      scan.php

+ 4 - 4
scan.php

@@ -26,10 +26,10 @@ if (isset($_ENV['REMOTE'])) {
 	}
 	}
 }
 }
 
 
-# Delete only if specified
-$DELETE = false;
-if ($_ENV['DELETE']) {
-	$DELETE = true;
+# Delete unless disabled
+$DELETE = true;
+if (isset($_ENV['DELETE']) && !$_ENV['DELETE']) {
+	$DELETE = false;
 }
 }
 
 
 # Open the DB connection
 # Open the DB connection