Permalink
Browse files

First Release

First release of Almanc the static blog site
  • Loading branch information...
1 parent 47b956d commit bc8b0229068bbad4cc5e2a14b949f66d53f53b82 @matthewroach committed Nov 25, 2012
View
@@ -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' );
+
+ }
+
+}
Oops, something went wrong.

0 comments on commit bc8b022

Please sign in to comment.