From 8550dab61c27e23722bf54ec216a829a088eb614 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Wed, 12 Sep 2018 18:30:53 +0200 Subject: [PATCH] fix --- blog/router.lua | 1 + index.ls | 3 ++- info/router.lua | 1 + silk/BaseController.lua | 6 +++--- 4 files changed, 7 insertions(+), 4 deletions(-) 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 @@