Fix js error (TypeError: Cannot call method 'settingsGet' of undefined)

+ small other fixes
This commit is contained in:
RainLoop Team 2013-11-21 02:00:30 +04:00
parent cf0968b5a8
commit 726fa6982b
12 changed files with 87 additions and 124 deletions

View file

@ -5183,7 +5183,7 @@ class Actions
private function setupInformation()
{
$aResult = array(
'hash' => \file_exists(APP_DATA_FOLDER_PATH.'HASH') ? @\file_get_contents(APP_DATA_FOLDER_PATH.'HASH') : '',
'hash' => \file_exists(APP_DATA_FOLDER_PATH.'HASH') ? \md5(@\file_get_contents(APP_DATA_FOLDER_PATH.'HASH')) : '',
'version-full' => APP_VERSION,
);