|
@@ -45,7 +45,7 @@ |
|
|
block discarded – undo |
|
45
|
45
|
{ |
|
46
|
46
|
//if base url YML is defined in YML, use that |
|
47
|
47
|
if (Config::inst()->get(BasePage::class, 'pdf_base_url')) { |
|
48
|
|
- $pdfBaseUrl = Config::inst()->get(BasePage::class, 'pdf_base_url').'/'; |
|
|
48
|
+ $pdfBaseUrl = Config::inst()->get(BasePage::class, 'pdf_base_url') . '/'; |
|
49
|
49
|
//otherwise, if we are CWP use the secure domain |
|
50
|
50
|
} elseif (Environment::getEnv('CWP_SECURE_DOMAIN')) { |
|
51
|
51
|
$pdfBaseUrl = Environment::getEnv('CWP_SECURE_DOMAIN') . '/'; |
Please login to merge, or discard this patch.