From 4a6673b25ed50f3b6fa1ec65214e88b024b3c269 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 4 Jul 2016 12:57:14 +0300 Subject: [PATCH] Enbled specifying latest self host version --- app/Libraries/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Libraries/Utils.php b/app/Libraries/Utils.php index 572fae313d2c..6ad9e430460c 100644 --- a/app/Libraries/Utils.php +++ b/app/Libraries/Utils.php @@ -181,7 +181,7 @@ class Utils $response = new stdClass(); $response->message = isset($_ENV["{$userType}_MESSAGE"]) ? $_ENV["{$userType}_MESSAGE"] : ''; $response->id = isset($_ENV["{$userType}_ID"]) ? $_ENV["{$userType}_ID"] : ''; - $response->version = NINJA_VERSION; + $response->version = env('NINJA_SELF_HOST_VERSION', NINJA_VERSION); return $response; }