aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages/start.php
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 19:44:55 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-27 19:44:55 +0000
commitd32e714cc14f54b06a09a203e6ec56d3da01a5a3 (patch)
tree24da3bb15ea2263e8fb514cb38c8ae93da0dab91 /mod/sitepages/start.php
parenteb92e452d5d1493c657a1ccda53e083348427e32 (diff)
downloadelgg-d32e714cc14f54b06a09a203e6ec56d3da01a5a3.tar.gz
elgg-d32e714cc14f54b06a09a203e6ec56d3da01a5a3.tar.bz2
Updating walled garden to register public pages as regular expressions.
git-svn-id: http://code.elgg.org/elgg/trunk@6255 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages/start.php')
-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;
}