public function __construct($appID = false, $appSecret = false, $code = false) { if ($appID === false) { $appID = trim(CSocServAuth::GetOption("bitrixseo_id")); } if ($appSecret === false) { $appSecret = trim(CSocServAuth::GetOption("bitrixseo_secret")); } parent::__construct($appID, $appSecret, $code); }