Update CRM/Utils/System/Standalone.php
authorRich Lott <artfulrobot@users.noreply.github.com>
Sun, 3 Dec 2023 17:46:09 +0000 (17:46 +0000)
committerGitHub <noreply@github.com>
Sun, 3 Dec 2023 17:46:09 +0000 (17:46 +0000)
Co-authored-by: colemanw <coleman@civicrm.org>
CRM/Utils/System/Standalone.php

index 27f32bf5bbffd7a744d9c79445f7b8bf61734d95..9be3ba52dc936cca378bb034da46baecfd591dd0 100644 (file)
@@ -208,7 +208,7 @@ class CRM_Utils_System_Standalone extends CRM_Utils_System_Base {
       return Civi::paths()->getUrl("[cms.root]/{$path}?{$query}$fragment", 'absolute');
     }
     else {
-      return "/{$path}?{$query}$fragment";
+      return Civi::paths()->getUrl("[cms.root]/{$path}?{$query}$fragment");
     }
   }