Low priority fixes: debug comments, Fortify cleanup, badge cost setting, profile query merge, User model fixes, VPN constructor cleanup, PayPal POST, PII removal, Dutch→English translations, duplicate rank check, CHANGELOG

This commit is contained in:
root
2026-06-04 19:57:01 +02:00
parent 66cbd46f37
commit 4b6872e5e0
13 changed files with 82 additions and 61 deletions
+13 -13
View File
@@ -1,4 +1,4 @@
# Uitgebreide PHP locatie detector voor IIS web.config
# Extended PHP location detector for IIS web.config
$searchPaths = @(
"C:\PHP",
@@ -19,11 +19,11 @@ $searchPaths = @(
$phpPath = $null
# Methode 1: Check of php-cgi.exe in PATH staat
Write-Host "Zoeken naar php-cgi.exe..." -ForegroundColor Cyan
# Method 1: Check if php-cgi.exe is in PATH
Write-Host "Searching for php-cgi.exe..." -ForegroundColor Cyan
$phpPath = (Get-Command php-cgi.exe -ErrorAction SilentlyContinue).Source
# Methode 2: Zoek in standaard locaties
# Method 2: Search in default locations
if (-not $phpPath) {
foreach ($basePath in $searchPaths) {
if (Test-Path $basePath) {
@@ -37,9 +37,9 @@ if (-not $phpPath) {
}
}
# Methode 3: Zoek in alle C: schijf (alleen top-level folders voor snelheid)
# Method 3: Search entire C: drive (top-level folders only for speed)
if (-not $phpPath) {
Write-Host "Zoeken in C:\ schijf..." -ForegroundColor Yellow
Write-Host "Searching C:\ drive..." -ForegroundColor Yellow
$rootFolders = Get-ChildItem -Path "C:\" -Directory -ErrorAction SilentlyContinue |
Where-Object { $_.Name -match 'php|wamp|laragon|inetpub' }
foreach ($folder in $rootFolders) {
@@ -52,7 +52,7 @@ if (-not $phpPath) {
}
}
# Methode 4: Check Windows Registry voor PHP installaties
# Method 4: Check Windows Registry for PHP installations
if (-not $phpPath) {
$regPaths = @(
"HKLM:\SOFTWARE\PHP",
@@ -73,7 +73,7 @@ if (-not $phpPath) {
}
if ($phpPath) {
Write-Host "`nGevonden: $phpPath" -ForegroundColor Green
Write-Host "`nFound: $phpPath" -ForegroundColor Green
$webConfigPath = ".\web.config"
if (Test-Path $webConfigPath) {
@@ -82,14 +82,14 @@ if ($phpPath) {
if ($content -ne $newContent) {
$newContent | Set-Content $webConfigPath -NoNewline
Write-Host "Handler succesvol geupdate in web.config!" -ForegroundColor Green
Write-Host "Handler successfully updated in web.config!" -ForegroundColor Green
} else {
Write-Host "Handler was al correct ingesteld." -ForegroundColor Yellow
Write-Host "Handler was already set correctly." -ForegroundColor Yellow
}
} else {
Write-Host "web.config niet gevonden in huidige directory!" -ForegroundColor Red
Write-Host "web.config not found in current directory!" -ForegroundColor Red
}
} else {
Write-Host "`nKon php-cgi.exe niet vinden." -ForegroundColor Red
Write-Host "Controleer of PHP correct is geinstalleerd." -ForegroundColor Red
Write-Host "`nCould not find php-cgi.exe." -ForegroundColor Red
Write-Host "Check if PHP is installed correctly." -ForegroundColor Red
}