Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simple_oauth
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
simple_oauth
Commits
72d19606
Commit
72d19606
authored
10 months ago
by
Ankit Pathak
Committed by
Bojan Bogdanovic
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3460689
: Unkown method writeWebConfig fix.
parent
14aad400
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!137
Issue #3460689: Unkown method writeWebConfig fix.
Pipeline
#295802
failed
8 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Service/KeyGeneratorService.php
+6
-1
6 additions, 1 deletion
src/Service/KeyGeneratorService.php
with
6 additions
and
1 deletion
src/Service/KeyGeneratorService.php
+
6
−
1
View file @
72d19606
...
...
@@ -73,7 +73,12 @@ class KeyGeneratorService {
$this
->
validator
->
validateNotFilePublicPath
([
$dir_path
]);
FileSecurity
::
writeHtaccess
(
$dir_path
);
FileSecurity
::
writeWebConfig
(
$dir_path
);
// As writeWebConfig method is deprecated and removed from D11.
// Also drupal dropped IIS support which require web.config so its ideal
// to have a check and handle the backward compatibility.
if
(
method_exists
(
FileSecurity
::
class
,
'writeWebConfig'
))
{
FileSecurity
::
writeWebConfig
(
$dir_path
);
}
// Create Keys array.
$keys
=
KeyGenerator
::
generateKeys
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment