From 3b651f22806450da4d8e16a6ad9477ffd4837a31 Mon Sep 17 00:00:00 2001 From: Dave Date: Sun, 5 Apr 2015 19:08:22 +0200 Subject: [PATCH] Fix for embed chat window on ssl sites As mentioned in [#120](https://github.com/Mibew/mibew/issues/120) --- .../libs/classes/Mibew/Controller/Chat/StyleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mibew/libs/classes/Mibew/Controller/Chat/StyleController.php b/src/mibew/libs/classes/Mibew/Controller/Chat/StyleController.php index 9a1d53d1..534eb85f 100644 --- a/src/mibew/libs/classes/Mibew/Controller/Chat/StyleController.php +++ b/src/mibew/libs/classes/Mibew/Controller/Chat/StyleController.php @@ -52,7 +52,7 @@ class StyleController extends AbstractController $style->getFilesPath() . '/' . $configs['chat']['iframe']['css'], UrlGeneratorInterface::ABSOLUTE_URL ); - $response->setData($css); + $response->setData(str_replace("http","https",$css)) $response->setCallback('Mibew.Utils.loadStyleSheet'); }