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
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ use Illuminate\Http\Request;
|
||||
|
||||
/**
|
||||
* Bulletproof Cross-Platform Bootstrap
|
||||
* Works on: Linux (Nginx/Apache), Windows (IIS/XAMPP), Docker
|
||||
* Works on: Linux (Nginx/Apache), Windows (IIS), Docker
|
||||
*/
|
||||
|
||||
// Windows path fix
|
||||
|
||||
Reference in New Issue
Block a user