Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from NuCivic/fix-ahoy-b
Browse files Browse the repository at this point in the history
Update config.php
  • Loading branch information
dkinzer authored Nov 4, 2016
2 parents b7e9c38 + 8920730 commit a8d8cc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ahoy/site/.scripts/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
try {
// Parse yaml.
$yaml = new Parser();
$config = $yaml->parse(file_get_contents(__DIR__ . '/../../../../config/config.yml'));
$config = $yaml->parse(file_get_contents(__DIR__ . '/../../../config/config.yml'));

// Render yaml using twig template.
$context = array(
Expand All @@ -30,7 +30,7 @@
);

// Write the php file.
$file = fopen(__DIR__ . '/../../../../config/config.php', 'w');
$file = fopen(__DIR__ . '/../../../config/config.php', 'w');
fwrite($file, $output);
} catch (Exception $e) {
echo "An error happened trying to transpose the config.yml file:\n{$e->getMessage()}\n";
Expand Down

0 comments on commit a8d8cc0

Please sign in to comment.