Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drupal Upstream
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
ASC IRIS Web Services
Drupal Upstream
Commits
dbd715cf
Unverified
Commit
dbd715cf
authored
4 years ago
by
briancanini
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request
#299
from ASCWebServices/courses
Courses fixes, gitignore, lando fix
parents
19830e88
f19985f7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+4
-0
4 additions, 0 deletions
.gitignore
web/modules/custom/asc_courses/src/Form/ApiSettingsForm.php
+0
-3
0 additions, 3 deletions
web/modules/custom/asc_courses/src/Form/ApiSettingsForm.php
web/sites/default/settings.local.php
+2
-0
2 additions, 0 deletions
web/sites/default/settings.local.php
with
6 additions
and
3 deletions
.gitignore
+
4
−
0
View file @
dbd715cf
...
...
@@ -62,3 +62,7 @@ Thumbs.db
# Lando config file
.lando.yml
# log files
logs
This diff is collapsed.
Click to expand it.
web/modules/custom/asc_courses/src/Form/ApiSettingsForm.php
+
0
−
3
View file @
dbd715cf
...
...
@@ -89,9 +89,6 @@ public function submitForm(array &$form, FormStateInterface $form_state) {
$config
->
set
(
'asc_courses.prod_consumer_secret'
,
$form_state
->
getValue
(
'prod_consumer_secret'
));
$config
->
set
(
'asc_courses.eip_environment'
,
$form_state
->
getValue
(
'eip_environment'
));
$config
->
save
();
$importer
=
new
AscCoursesImporter
();
$importer
->
fetchAndImportAll
();
return
parent
::
submitForm
(
$form
,
$form_state
);
}
...
...
This diff is collapsed.
Click to expand it.
web/sites/default/settings.local.php
+
2
−
0
View file @
dbd715cf
...
...
@@ -77,6 +77,8 @@
$settings
[
'container_yamls'
][]
=
DRUPAL_ROOT
.
'/sites/development.services.yml'
;
}
else
if
(
PANTHEON_ENVIRONMENT
==
'lando'
)
{
$settings
[
'skip_permissions_hardening'
]
=
TRUE
;
# Force SSL
if
(
isset
(
$_SERVER
[
'HTTP_X_FORWARDED_PORT'
])
&&
$_SERVER
[
'HTTP_X_FORWARDED_PORT'
]
==
'80'
)
{
header
(
'HTTP/1.0 301 Moved Permanently'
);
...
...
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