[10.0.113.dev] sécurité dossier data + classes déplacées

pull/4/head
fredtempez 3 years ago
parent 6bb842c6a5
commit 4b1a477320
  1. 0
      core/class/Dot.php
  2. 0
      core/class/JsonDb.php
  3. 4
      core/class/autoload.php
  4. 6
      site/data/.htaccess

@ -7,7 +7,7 @@ class autoload {
require_once 'core/class/SitemapGenerator.class.php';
require_once 'core/class/phpmailer/phpmailer.class.php';
require_once 'core/class/phpmailer/exception.class.php';
require_once "core/vendor/jsondb/Dot.php";
require_once "core/vendor/jsondb/JsonDb.php";
require_once "core/class/Dot.php";
require_once "core/class/JsonDb.php";
}
}

@ -1,10 +1,10 @@
# Bloque l'accès aux données
<Files core.json>
<FilesMatch "\.json$">
Order deny,allow
Deny from all
</Files>
</FilesMatch>
# Bloque l'accès htaccess
<Files .htaccess>
Order deny,allow
Deny from all
</Files>
</Files>
Loading…
Cancel
Save