From f05482b7674f10eb96cf08ac030aa46053b86d09 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Sun, 30 Aug 2009 22:20:13 +0000
Subject: [PATCH] Instance variable rewritten

---
 index.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/index.php b/index.php
index f717dd4..d534a47 100644
--- a/index.php
+++ b/index.php
@@ -87,13 +87,13 @@ final class ApplicationEntryPoint {
 
 		// Get some instances
 		$tpl = FrameworkConfiguration::getInstance()->getConfigEntry('template_class');
-		$lang = LanguageSystem::getInstance();
+		$languageInstance = LanguageSystem::getInstance();
 
 		// Get response instance
 		$responseInstance = ApplicationHelper::getInstance()->getResponseInstance();
 
 		// Is the template engine loaded?
-		if ((class_exists($tpl)) && (is_object($lang))) {
+		if ((class_exists($tpl)) && (is_object($languageInstance))) {
 			// Use the template engine for putting out (nicer look) the message
 			try {
 				// Get the template instance from our object factory
@@ -133,7 +133,7 @@ final class ApplicationEntryPoint {
 			$templateInstance->assignVariable('backtrace', $backtrace);
 			$templateInstance->assignVariable('total_includes', ClassLoader::getInstance()->getTotal());
 			$templateInstance->assignVariable('total_objects', ObjectFactory::getTotal());
-			$templateInstance->assignVariable('title', $lang->getMessage('emergency_exit_title'));
+			$templateInstance->assignVariable('title', $languageInstance->getMessage('emergency_exit_title'));
 
 			// Load the template
 			$templateInstance->loadCodeTemplate('emergency_exit');
-- 
2.39.5