Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First release of Almanc the static blog site
- Loading branch information
Matthew Roach
committed
Nov 25, 2012
1 parent
47b956d
commit bc8b022
Showing
12 changed files
with
894 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.