fix: correct append php ext load condition

This commit is contained in:
Victor Westerlund 2026-01-25 10:22:47 +01:00
parent 4f4191c658
commit 309a8a5943
Signed by: vlw
GPG key ID: D0AD730E1057DFC6

View file

@ -19,7 +19,7 @@
}
// Append php extension if omitted
if (!substr($pathname, -4) === ".php") {
if (substr($pathname, -4) !== ".php") {
$pathname .= ".php";
}