Drupal from 10.6.17 to 11.4.7

This commit is contained in:
2026-09-26 01:10:59 +02:00
parent 89d68ac548
commit 62c814d57d
83 changed files with 4122 additions and 1745 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ if (str_contains($path, '.php')) {
// fallback to index.php.
do {
$path = dirname($path);
if (preg_match('/\.php$/', $path) && is_file(__DIR__ . $path)) {
if (str_ends_with($path, '.php') && is_file(__DIR__ . $path)) {
// Discovered that the path contains an existing PHP file. Use that as the
// script to include.
$script = ltrim($path, '/');