Fix for embed chat window on ssl sites

As mentioned in [#120](https://github.com/Mibew/mibew/issues/120)
This commit is contained in:
Dave 2015-04-05 19:08:22 +02:00
parent e4a104f52e
commit 3b651f2280

View File

@ -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');
}