index.php: remove the sandbox attribute for the iframe element
[experiments/php-simple-upload.git] / index.php
index 4353ede..1094135 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,7 +1,7 @@
 <?php
 /**
  * @file
- * php-simple-upload - simple upload page.
+ * php-simple-upload - simple script to upload files to the web server
  *
  * Copyright (C) 2017  Antonio Ospite <ao2@ao2.it>
  *
@@ -81,6 +81,6 @@ if (isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER'] == $iframe_paren
   <input type="submit" value="Upload File"/>
 </form>
 
-<iframe sandbox src="<?php echo INCOMING_DIR; ?>" height="100%" width="100%" frameborder="0">
+<iframe src="<?php echo INCOMING_DIR; ?>" height="100%" width="100%" frameborder="0">
   Your browser does not support iframes <a href="<?php echo INCOMING_DIR; ?>">click here to view the page directly.</a>
 </iframe>