|
@@ -19,7 +19,7 @@ discard block |
|
|
block discarded – undo |
|
19
|
19
|
// only load page if functionality enabled |
|
20
|
20
|
if (siteConfig()['recording']['type'] != 'locomotivecms') { |
|
21
|
21
|
echo '<p>This feature is not enabled</p>'; |
|
22
|
|
- echo '<p><a href='.siteSettings()->getSiteUrl().'>< back to homepage</a></p>'; |
|
|
22
|
+ echo '<p><a href=' . siteSettings()->getSiteUrl() . '>< back to homepage</a></p>'; |
|
23
|
23
|
exit; |
|
24
|
24
|
} |
|
25
|
25
|
|
|
@@ -27,7 +27,7 @@ discard block |
|
|
block discarded – undo |
|
27
|
27
|
|
|
28
|
28
|
$client = new Client([ |
|
29
|
29
|
// Base URI is used with relative requests |
|
30
|
|
- 'base_uri' => siteConfig()['recording']['locomotivecms']['url'].'/locomotive/api/', |
|
|
30
|
+ 'base_uri' => siteConfig()['recording']['locomotivecms']['url'] . '/locomotive/api/', |
|
31
|
31
|
// You can set any number of default request options. |
|
32
|
32
|
'timeout' => 2.0, |
|
33
|
33
|
]); |
|
@@ -52,6 +52,6 @@ discard block |
|
|
block discarded – undo |
|
52
|
52
|
var_dump($response); |
|
53
|
53
|
} else { |
|
54
|
54
|
echo '<p>Unable to connect to main site</p>'; |
|
55
|
|
- echo '<p><a href='.siteSettings()->getSiteUrl().'>< back to homepage</a></p>'; |
|
|
55
|
+ echo '<p><a href=' . siteSettings()->getSiteUrl() . '>< back to homepage</a></p>'; |
|
56
|
56
|
exit; |
|
57
|
57
|
} |
Please login to merge, or discard this patch.