You've already forked Atomcms-edit
Remove all XAMPP support from CMS (files, references, configs)
This commit is contained in:
@@ -6,7 +6,6 @@ $searchPaths = @(
|
||||
"C:\Program Files (x86)\PHP",
|
||||
"C:\php7",
|
||||
"C:\php8",
|
||||
"C:\xampp\php",
|
||||
"C:\wamp\bin\php",
|
||||
"C:\wamp64\bin\php",
|
||||
"C:\laragon\bin\php",
|
||||
@@ -42,7 +41,7 @@ if (-not $phpPath) {
|
||||
if (-not $phpPath) {
|
||||
Write-Host "Zoeken in C:\ schijf..." -ForegroundColor Yellow
|
||||
$rootFolders = Get-ChildItem -Path "C:\" -Directory -ErrorAction SilentlyContinue |
|
||||
Where-Object { $_.Name -match 'php|xampp|wamp|laragon|inetpub' }
|
||||
Where-Object { $_.Name -match 'php|wamp|laragon|inetpub' }
|
||||
foreach ($folder in $rootFolders) {
|
||||
$found = Get-ChildItem -Path $folder.FullName -Recurse -Filter "php-cgi.exe" -ErrorAction SilentlyContinue |
|
||||
Select-Object -First 1 -ExpandProperty FullName
|
||||
|
||||
Reference in New Issue
Block a user