Skip to content

Commit

Permalink
Switch to hardcoded git metadata as heroku exports source
Browse files Browse the repository at this point in the history
  • Loading branch information
bxjx committed Feb 27, 2013
1 parent 9830f14 commit 49aed2a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
$app = new Silex\Application();

$config = [
'branch' => substr(`git symbolic-ref -q HEAD`, 11),
'gitHash' => `git rev-parse HEAD`,
'buildId' => substr(`git rev-parse HEAD`, 0, 16),
// Hard coding git details as heroku exports source
'branch' => 'production', // substr(`git symbolic-ref -q HEAD`, 11),
'gitHash' => '0c133f3fee2167f1', // `git rev-parse HEAD`,
'buildId' => '0c133f3fee2167f1', //substr(`git rev-parse HEAD`, 0, 16),
'categories' => Util::loadJSONFile(__DIR__ . '/../resources/categories.json'),
'db' => 'mongodb://heroku:[email protected]:10059/app12425727',
'dbname' => 'app12425727',
Expand Down

0 comments on commit 49aed2a

Please sign in to comment.