From a2b3db924719b111c7c01812fe3470fbbd1ae7cc Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 30 Dec 2010 04:32:04 +0000 Subject: Refs #2428 removed more CONFIG uses git-svn-id: http://code.elgg.org/elgg/trunk@7769 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/installation/input/button.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'views/installation') diff --git a/views/installation/input/button.php b/views/installation/input/button.php index 76cf5afa1..6704fa8c5 100644 --- a/views/installation/input/button.php +++ b/views/installation/input/button.php @@ -15,8 +15,6 @@ * */ -global $CONFIG; - $class = $vars['class']; if (!$class) { $class = "elgg-submit-button"; @@ -44,7 +42,7 @@ $value = htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); $name = $vars['internalname']; $src = $vars['src']; // blank src if trying to access an offsite image. -if (strpos($src,elgg_get_site_url())===false) { +if (strpos($src, elgg_get_site_url()) === false) { $src = ""; } ?> -- cgit v1.2.3