Skip to content

Commit

Permalink
disabled php examples
Browse files Browse the repository at this point in the history
  • Loading branch information
spocke committed Mar 29, 2021
1 parent 03f6911 commit ad2c487
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/dump.php
@@ -1,3 +1,10 @@
<?php
#!! IMPORTANT:
#!! this file is just an example, it doesn't incorporate any security checks and
#!! is not recommended to be used in production environment as it is. Be sure to
#!! revise it and customize to your needs.
die("Make sure that you enable some form of authentication before removing this line.");
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
Expand Down
1 change: 1 addition & 0 deletions examples/upload.php
Expand Up @@ -13,6 +13,7 @@
#!! this file is just an example, it doesn't incorporate any security checks and
#!! is not recommended to be used in production environment as it is. Be sure to
#!! revise it and customize to your needs.
die("Make sure that you enable some form of authentication before removing this line.");


// Make sure file is not cached (as it happens for example on iOS devices)
Expand Down

0 comments on commit ad2c487

Please sign in to comment.