Unverified Commit 95f1bf48 authored by Sebastian Castro's avatar Sebastian Castro
Browse files

Fix durty fix image url for localhost

parent 3bebdfb1
......@@ -40,7 +40,7 @@ class SaasHelper
}
if (false !== strpos($url, 'localhost')) {
$url .= explode('/app', $_SERVER['SCRIPT_NAME'])[0];
$url = str_replace($_SERVER['SCRIPT_NAME'], '', $url);
} // ugly fix to support localhost !
return $url;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment