self::$InvocationContext = $invocation_context; } public static function switchOnBlMode() { self::$sdk_mode_bl = true; } public static function switchOffBlMode() { self::$sdk_mode_bl = false; } public static function isBlMode() { return self::$sdk_mode_bl; } protected static function phpEnviromentInit() { //set default timezone need for WIN and OS X date_default_timezone_set('UTC'); // check if available openssl for use https if (!extension_loaded('openssl')) { self::$url = preg_replace('/^http:\\/\\/|https:\\/\\/(.*)$/', 'http://${1}', self::$url); } } public static function devMode() { define('DEV_MODE', true); Log::init(); } } Backendless::staticConstruct();