/**
  * Load BotDetect CAPTCHA Library and override Captcha Library settings.
  *
  * @param array  $p_Config
  * @return void
  */
 public static function Load($p_Config = array())
 {
     // load bd php library
     self::IncludeFile(Path::GetBotDetectFilePathInLibrary());
     // user's captcha config file
     $userConfig = new UserCaptchaConfiguration();
     if (array_key_exists('CaptchaId', $p_Config) && array_key_exists('CaptchaConfigFilePath', $p_Config)) {
         $captchaConfigPath = $p_Config['CaptchaConfigFilePath'];
         $captchaId = $p_Config['CaptchaId'];
         $userConfig->StorePath($captchaId, $captchaConfigPath);
     }
     // load the captcha configuration defaults
     self::IncludeFile(Path::GetCaptchaConfigDefaultsFilePath());
     // load user's captcha configuration
     $userCaptchaConfigFilePath = $userConfig->GetPhysicalPath();
     self::IncludeFile($userCaptchaConfigFilePath);
 }