Skip to content

Commit

Permalink
Fix for install script pre-db
Browse files Browse the repository at this point in the history
  • Loading branch information
joedanz committed Jul 28, 2011
1 parent 2751512 commit 225632a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Application.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
<cfset application.config = createObject("component","cfcs.config").init(settings)>
<cfset application.diff = createObject("component","cfcs.diff").init()>
<cfset application.file = createObject("component","cfcs.file").init(settings)>
<cfset application.gCal = createObject("component", "cfcs.GoogleCalendar").init(settings.googlecal_user,settings.googlecal_pass,settings.googlecal_offset)>
<cfset application.issue = createObject("component","cfcs.issue").init(settings)>
<cfset application.message = createObject("component","cfcs.message").init(settings)>
<cfset application.milestone = createObject("component","cfcs.milestone").init(settings)>
Expand All @@ -78,6 +77,11 @@
<cfset application.todo = createObject("component","cfcs.todo").init(settings)>
<cfset application.todolist = createObject("component","cfcs.todolist").init(settings)>
<cfset application.user = createObject("component","cfcs.user").init(settings)>
<!--- Google Calendar --->
<cftry>
<cfset application.gCal = createObject("component", "cfcs.GoogleCalendar").init(settings.googlecal_user,settings.googlecal_pass,settings.googlecal_offset)>
<cfcatch></cfcatch>
</cftry>

<!--- DataMgr --->
<cftry>
Expand Down
5 changes: 4 additions & 1 deletion templates/main_header.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@
</cfif>
<h1>#attributes.project#</h1>
<cfelse>
<h1>#application.settings.app_title#</h1>
<cftry>
<h1>#application.settings.app_title#</h1>
<cfcatch><h1>Project Tracker</h1></cfcatch>
</cftry>
</cfif>

<cfif session.user.projects.recordCount gt 1>
Expand Down

0 comments on commit 225632a

Please sign in to comment.