mirror of
https://codeberg.org/vlw/scaffold.git
synced 2026-02-26 11:31:57 +01:00
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:
parent
4f4191c658
commit
b4c881a2f9
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue