aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 12:07:28 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 12:07:28 +0000
commit755947e111d89d6babcd0f070d91c2245e22a809 (patch)
tree284e62a3f1cfca8f9d23e88680544cde4f5aea79 /mod/pages/start.php
parent949a233076ec18f86e60f90a7a8837cb422664af (diff)
downloadelgg-755947e111d89d6babcd0f070d91c2245e22a809.tar.gz
elgg-755947e111d89d6babcd0f070d91c2245e22a809.tar.bz2
Refs #2428 just a few more CONFIG uses left to be replaced
git-svn-id: http://code.elgg.org/elgg/trunk@8000 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/start.php')
-rw-r--r--mod/pages/start.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index afa6651e3..678449dc1 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -12,7 +12,6 @@ elgg_register_event_handler('init', 'system', 'pages_init');
*
*/
function pages_init() {
- global $CONFIG;
// register a library of helper functions
elgg_register_library('elgg:pages', elgg_get_plugin_path() . 'pages/lib/pages.php');
@@ -55,13 +54,13 @@ function pages_init() {
// Language short codes must be of the form "pages:key"
// where key is the array key below
- $CONFIG->pages = array(
+ elgg_set_config('pages', array(
'title' => 'text',
'description' => 'longtext',
'tags' => 'tags',
'access_id' => 'access',
'write_access_id' => 'access',
- );
+ ));
elgg_register_plugin_hook_handler('register', 'menu:owner_block', 'pages_owner_block_menu');