From a528eb54ac9694452f7a7a0947157ba94a9516f0 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 7 Dec 2024 10:41:15 +0000 Subject: [PATCH] My message --- .gitignore | 3 +++ config/global.ini | 4 ++-- html/.htaccess | 5 ----- html/adhesion/.htaccess | 15 --------------- html/admin/adherents.php | 31 +++++++++++++------------------ html/assets/pp/26.png | Bin 0 -> 6956 bytes 6 files changed, 18 insertions(+), 40 deletions(-) create mode 100644 .gitignore delete mode 100755 html/.htaccess delete mode 100755 html/adhesion/.htaccess create mode 100644 html/assets/pp/26.png diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..9e6f3658 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +config/ +content/ + diff --git a/config/global.ini b/config/global.ini index f3b2b7cd..9f24d5f6 100755 --- a/config/global.ini +++ b/config/global.ini @@ -1,5 +1,5 @@ [root] -pageURL = "https://e59.fr/" +pageURL = "https://e59.indev.e59.fr/" filePath = "/var/www/e59/" [social] @@ -12,7 +12,7 @@ youtube = "https://www.youtube.com/@e59-club" [sql] databaseName = "E59" databaseUser = "root" -databasePass = "Broadca@Storm_SQL" +databasePass = "Potiron345!" databaseHost = "127.0.0.1" [recaptcha] diff --git a/html/.htaccess b/html/.htaccess deleted file mode 100755 index 4681855b..00000000 --- a/html/.htaccess +++ /dev/null @@ -1,5 +0,0 @@ - - Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate" - Header set Pragma "no-cache" - Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT" - diff --git a/html/adhesion/.htaccess b/html/adhesion/.htaccess deleted file mode 100755 index 17bab1af..00000000 --- a/html/adhesion/.htaccess +++ /dev/null @@ -1,15 +0,0 @@ - - Order Allow,Deny - Deny from all - - - - Order Allow,Deny - Deny from all - - -# Assurez-vous que le module mod_rewrite est activé -RewriteEngine On - -# Bloquer l'accès aux répertoires old et vendor -RewriteRule ^vendor/ - [F,L] \ No newline at end of file diff --git a/html/admin/adherents.php b/html/admin/adherents.php index 2417f157..96a7e8e9 100644 --- a/html/admin/adherents.php +++ b/html/admin/adherents.php @@ -22,22 +22,16 @@ $pdo = sqlConnect($sqlDatabaseHost, $sqlDatabaseName, $sqlDatabaseUser, $sqlData