 		<cfset language.__position=0>
 		<cfif isDefined('xml.xmlRoot.XmlAttributes.action')>
 			<cfset language.__action=trim(xml.xmlRoot.XmlAttributes.action)>
-			<cfset language.__position=StructKeyExists(xml.xmlRoot.XmlAttributes,"position")?xml.xmlRoot.XmlAttributes.position:0>
+			<cfset language.__position=structKeyExists(xml.xmlRoot.XmlAttributes,"position")?xml.xmlRoot.XmlAttributes.position:0>
 		</cfif>
 		<cftry>
 				<cfset xml = XmlSearch(xml, "/languages/language[@key='#lCase(trim(arguments.lang))#']")[1]>


		<cfdirectory directory="#plugindir#" action="list" name="plugindirs" recurse="no">
		<cfloop query="plugindirs">
			<cfif plugindirs.type EQ "dir">
				<cfset _lang=loadPluginLanguage(pluginDir,plugindirs.name)>
				<cfif isNull(_lang.__group)>
					<cfcontinue>


		 <cfcatch>
		 	<cfset login_error=cfcatch.message>
			<cfset structDelete(session, "password" & request.adminType)>
		</cfcatch>
	</cftry>
</cfif>

<cfif not structKeyExists(session,'lucee_admin_lang')>
	<cfset session.lucee_admin_lang ='en'>
</cfif>
</cfsilent>

<cfinclude template="resources/text.cfm">

<cfset request.self = request.adminType & ".cfm">
<!--- includes several functions --->
<cfinclude template="web_functions.cfm">
<cfif not structKeyExists(application, "adminfunctions") or (structKeyExists(session, "alwaysNew") and session.alwaysNew)>
	<cfset application.adminfunctions = new adminfunctions() />
</cfif>

