Skip to content

Commit

Permalink
First Release
Browse files Browse the repository at this point in the history
First release of Almanc the static blog site
  • Loading branch information
Matthew Roach committed Nov 25, 2012
1 parent 47b956d commit bc8b022
Show file tree
Hide file tree
Showing 12 changed files with 894 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Application.cfc
@@ -0,0 +1,24 @@
component {

this.name = "Almanac";

// Session
this.sessionmanagement = true;
this.sessiontimeout = CreateTimeSpan( 0,2,0,0 );

function onApplicationStart() {

staticSettings = fileRead( expandPath('/settings.json') );

application.m = CreateObject( "java" , "com.petebevin.markdown.MarkdownProcessor" );
application.settings = deserializeJSON( staticSettings );

}

function onError() {

location( '?/404' );

}

}

0 comments on commit bc8b022

Please sign in to comment.