-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial Drupal 11 + automatic core selection
- Loading branch information
Showing
4 changed files
with
69 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/composer-drupal-core-setup/scaffold-patch-index-and-update-php-drupal-11.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/index.php b/index.php | ||
index 750dc282dc..bda22cee8d 100644 | ||
--- a/index.php | ||
+++ b/index.php | ||
@@ -13,7 +13,7 @@ | ||
|
||
$autoloader = require_once 'autoload.php'; | ||
|
||
-$kernel = new DrupalKernel('prod', $autoloader); | ||
+$kernel = new DrupalKernel('prod', $autoloader, TRUE, __DIR__); | ||
|
||
$request = Request::createFromGlobals(); | ||
$response = $kernel->handle($request); | ||
diff --git a/update.php b/update.php | ||
index b65649cb87..02ffa2245d 100644 | ||
--- a/update.php | ||
+++ b/update.php | ||
@@ -21,7 +21,7 @@ | ||
gc_disable(); | ||
} | ||
|
||
-$kernel = new UpdateKernel('prod', $autoloader, FALSE); | ||
+$kernel = new UpdateKernel('prod', $autoloader, FALSE, __DIR__); | ||
$request = Request::createFromGlobals(); | ||
|
||
$response = $kernel->handle($request); |