From 49aed2a3f40f238792b45760cab0b610d90ea81b Mon Sep 17 00:00:00 2001 From: "B.J. Rossiter" Date: Thu, 28 Feb 2013 09:52:41 +1100 Subject: [PATCH] Switch to hardcoded git metadata as heroku exports source --- web/index.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/index.php b/web/index.php index 5b33a9a..56fcea7 100644 --- a/web/index.php +++ b/web/index.php @@ -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:4acba4a42863ba17b18dd350af109785@juliet.mongohq.com:10059/app12425727', 'dbname' => 'app12425727',