From 755947e111d89d6babcd0f070d91c2245e22a809 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 3 Feb 2011 12:07:28 +0000 Subject: 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 --- mod/pages/start.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mod/pages/start.php') 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'); -- cgit v1.2.3