PageRenderTime 22ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/controllers/Home.cfc

http://raihan.googlecode.com/
ColdFusion CFScript | 28 lines | 15 code | 13 blank | 0 comment | 1 complexity | c2f0cce9190c0a25045a6a70b4ef2519 MD5 | raw file
 1<cfcomponent displayname="Home" hint="I the home page" extends="Controller" output="false">
 2
 3	<cffunction name="init" access="public" displayname="init" hint="init of Home">
 4		
 5		<cfscript>
 6			
 7			if (IsUserLoggedIn()) {
 8				
 9				redirectTo(controller="Dashboard");
10				
11			}
12			
13			return this;
14			
15		</cfscript>
16		
17	</cffunction> 
18	
19	<cffunction name="home" access="public" displayname="home" hint="home">
20		
21		<cfscript>
22			isInstalled = model("setting").getSetting("installed");
23			
24		</cfscript>
25		
26	</cffunction> 
27	
28</cfcomponent>