 			<cfdirectory directory="#_plugindir#" action="list" name="plugindirs" recurse="no">
 			<cfloop query="plugindirs">
 				<cfif plugindirs.type == "dir">
-					<cfset _lang=loadPluginLanguage(_pluginDir,plugindirs.name)>					
+					<cfset _lang=loadPluginLanguage(_pluginDir,plugindirs.name)>
 					<cfif isNull(_lang.__group)>
 						<cfcontinue>
 					</cfif>


	<cfset hasPlugin=false>
	<cfloop array="#navigation#" index="el">
		<cfif el.action == "plugin"><cfset hasPlugin=true></cfif>
	</cfloop>

	<cfscript>
		if (structKeyExists(application, "reloadPlugins")){
			hasPlugin = false;
			structDelete(application, "reloadPlugins");
		} else if (not StructKeyExists(application, "lucee_admin_plugins_last_updated")){
			hasPlugin = false;
		} else if ((StructKeyExists(server, "lucee_admin_plugins_last_updated")
				and (not StructKeyExists(application, "lucee_admin_plugins_last_updated")
					or DateCompare(server.lucee_admin_plugins_last_updated, application.lucee_admin_plugins_last_updated) neq 1) )
				){
			hasPlugin = false;
		}
	</cfscript>
	<cfif !hasPlugin || (structKeyExists(session, "alwaysNew") && session.alwaysNew)>
		<cfscript>
			lock name="lucee_admin_plugins_last_updated"{ 
				application.lucee_admin_plugins_last_updated = now(); // used to compare against server
				application.plugin = {}; // clear plugins
			}
		</cfscript>		
		<cfif !hasPlugin>
			<cfset plugin=struct(
				label:"Plugins",

}
</cfscript>
<cfcatch></cfcatch>
</cftry> --->