diff --git a/blog/router.lua b/blog/router.lua index 5222fa0..168c249 100644 --- a/blog/router.lua +++ b/blog/router.lua @@ -28,6 +28,7 @@ local REGISTRY = {} REGISTRY.logger = Logger:new{ levels = {INFO = true, ERROR = true, DEBUG = true}} REGISTRY.db = DBHelper:new{db="mrsang"} REGISTRY.layout = 'default' +REGISTRY.fileaccess = true REGISTRY.db:open() local router = Router:new{registry = REGISTRY} diff --git a/index.ls b/index.ls index 49344c0..ec9751e 100644 --- a/index.ls +++ b/index.ls @@ -1,5 +1,6 @@