Added check to hide LiveChat for existing hobbyist users

This commit is contained in:
Duncan Sommerville 2015-02-26 12:49:52 -05:00
parent 48b4e3fb62
commit 93f62eaadd
2 changed files with 6 additions and 4 deletions

View file

@ -92,7 +92,7 @@ class Config {
public static function setAirtimeVersion() {
$airtime_version = Application_Model_Preference::GetAirtimeVersion();
$uniqueid = Application_Model_Preference::GetUniqueId();
$buildVersion = file_get_contents(self::$rootDir."/../VERSION");
$buildVersion = @file_get_contents(self::$rootDir."/../VERSION");
self::$CC_CONFIG['airtime_version'] = md5($airtime_version.$buildVersion);
}