fix: correct append php ext load condition (#21)

Fix of the conditional check introduced in #19.

Reviewed-on: https://codeberg.org/vlw/scaffold/pulls/21
This commit is contained in:
Victor Westerlund 2026-01-25 10:24:11 +01:00
parent 4f4191c658
commit b4c881a2f9

View file

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