Skip to content

Commit

Permalink
Tweak simplesaml config. (#579)
Browse files Browse the repository at this point in the history
* Tweak simplesaml config.

* Updated docs.
  • Loading branch information
danepowell authored and grasmash committed Oct 18, 2016
1 parent eab18f0 commit c442629
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions phing/tasks/simplesamlphp.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,7 @@
<filelist dir="${repo.root}/vendor/simplesamlphp/simplesamlphp/config-templates" files="authsources.php, config.php"/>
</copy>
<exec dir="${repo.root}/simplesamlphp/config" command="curl https://gist.githubusercontent.com/acquialibrary/8059715/raw/a6dc376bfb5068a2c7fe01be315d13bd47d4c10b/9191_config.php > acquia_config.php" passthru="true"/>
<append destFile="${repo.root}/simplesamlphp/config/config.php" file="${repo.root}/simplesamlphp/config/acquia_config.php">
<filterchain>
<replaceregexp>
<regexp pattern=".*php\n" replace="" ignoreCase="true"/>
</replaceregexp>
</filterchain>
</append>
<append destFile="${repo.root}/simplesamlphp/config/config.php" text="include 'acquia_config.php';"/>
<echo>Copying config files to ${repo.root}/simplesamlphp/metadata.</echo>
<copy todir="${repo.root}/simplesamlphp/metadata" file="${repo.root}/vendor/simplesamlphp/simplesamlphp/metadata-templates/saml20-idp-remote.php" overwrite="false"/>
</target>
Expand Down Expand Up @@ -80,7 +74,7 @@
============================================================================

* ${docroot}/.htaccess
* ${repo.root}/simplesamlphp/config/config.php
* ${repo.root}/simplesamlphp/config/acquia_config.php
* ${repo.root}/simplesamlphp/config/authsources.php
* ${repo.root}/simplesamlphp/metadata/saml20-idp-remote.php

Expand Down

0 comments on commit c442629

Please sign in to comment.