aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/sitepages')
-rw-r--r--mod/sitepages/start.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/mod/sitepages/start.php b/mod/sitepages/start.php
index 943688020..2974d3036 100644
--- a/mod/sitepages/start.php
+++ b/mod/sitepages/start.php
@@ -201,11 +201,9 @@ function sitepages_ecml_views_hook($hook, $entity_type, $return_value, $params)
}
function sitepages_public_pages($hook, $type, $return_value, $params) {
- global $CONFIG;
-
- $return_value[] = "{$CONFIG->url}pg/sitepages/read/About/";
- $return_value[] = "{$CONFIG->url}pg/sitepages/read/Terms/";
- $return_value[] = "{$CONFIG->url}pg/sitepages/read/Privacy/";
+ $return_value[] = 'pg/sitepages/read/About';
+ $return_value[] = 'pg/sitepages/read/Terms';
+ $return_value[] = 'pg/sitepages/read/Privacy';
return $return_value;
}