Skip to content
Snippets Groups Projects
Unverified Commit dbd715cf authored by briancanini's avatar briancanini Committed by GitHub
Browse files

Merge pull request #299 from ASCWebServices/courses

Courses fixes, gitignore, lando fix
parents 19830e88 f19985f7
No related branches found
No related tags found
No related merge requests found
......@@ -62,3 +62,7 @@ Thumbs.db
# Lando config file
.lando.yml
# log files
logs
......@@ -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);
}
......
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment