1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Enbled specifying latest self host version

This commit is contained in:
Hillel Coren 2016-07-04 12:57:14 +03:00
parent c6b0b792b2
commit 4a6673b25e

View File

@ -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;
}