Apply automatic drupal scaffolding updates

This commit is contained in:
Keegan Rankin 2024-02-23 13:00:13 -08:00
parent 3fe8dbb83e
commit ea3bf94cb0
3 changed files with 19 additions and 12 deletions

View file

@ -39,7 +39,7 @@ if (file_exists(__DIR__ . $url['path'])) {
// Work around the PHP bug.
$path = $url['path'];
$script = 'index.php';
if (strpos($path, '.php') !== FALSE) {
if (str_contains($path, '.php')) {
// Work backwards through the path to check if a script exists. Otherwise
// fallback to index.php.
do {