@@ -78,9 +78,14 @@ if (! empty($dolibarr_main_document_root_alt))
...
@@ -78,9 +78,14 @@ if (! empty($dolibarr_main_document_root_alt))
{
{
if(preg_match('/^http(s)?:/',$value))
if(preg_match('/^http(s)?:/',$value))
{
{
print'Error: values for <b>$dolibarr_main_url_root_alt</b> into <b>conf.php</b> file must contains relative path added to $dolibarr_main_url_root to get alternative URLs.<br>'."\n";
// TODO: Make this a warning rather than an error since the correct value can be derived in most cases