...
|
...
|
@@ -1109,7 +1109,7 @@ class Helpers |
|
|
*/
|
|
|
public static function getUrlSafe($url)
|
|
|
{
|
|
|
if (stripos($url, 'http://')) {
|
|
|
if (stripos($url, 'http://') !== false) {
|
|
|
return '//' . ltrim(strtr($url, array('http://' => '', 'https://' => '')), '//');
|
|
|
}
|
|
|
|
...
|
...
|
|