diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 02:55:41 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-03 02:55:41 +0000 |
commit | 4503c58bc954671503650223bbcabe7a2951d415 (patch) | |
tree | dbf87ecf25dda9e5e8279a4296d8dea2d8222f12 /views/default/input/button.php | |
parent | 72b8810ea3403491362a47cc5075402d785f1038 (diff) | |
download | elgg-4503c58bc954671503650223bbcabe7a2951d415.tar.gz elgg-4503c58bc954671503650223bbcabe7a2951d415.tar.bz2 |
Refs #2428 removed some uses of CONFIG in the views
git-svn-id: http://code.elgg.org/elgg/trunk@7996 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/button.php')
-rw-r--r-- | views/default/input/button.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/views/default/input/button.php b/views/default/input/button.php index 8e58b7618..db520b6ac 100644 --- a/views/default/input/button.php +++ b/views/default/input/button.php @@ -8,8 +8,6 @@ * @uses $vars['src'] Src of an image */ -global $CONFIG; - $defaults = array( 'type' => 'button', 'class' => 'elgg-submit-button', @@ -29,7 +27,7 @@ switch ($vars['type']) { } // blank src if trying to access an offsite image. @todo why? -if (strpos($vars['src'], $CONFIG->wwwroot) === false) { +if (strpos($vars['src'], elgg_get_site_url()) === false) { $vars['src'] = ""; } ?> |