-
-
- diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..dec815c --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,9 @@ +# Security Policy + +## Supported versions + +The code in the `main` branch supported with security updates. + +## Reporting a vulnerability + +Please report security issues and vulnerabilities to dmpop@linux.com diff --git a/index.php b/index.php index db9254d..c18e07d 100644 --- a/index.php +++ b/index.php @@ -96,9 +96,14 @@ function read_gps_location($file) // Check whether the required directories exist if (!file_exists($photo_dir) || !file_exists($photo_dir . 'tims')) { - mkdir($photo_dir, 0777, true); - mkdir($photo_dir . 'tims', 0777, true); - echo ('