diff --git a/template/config/view.js b/template/config/view.js index 2d26b524..5435b627 100644 --- a/template/config/view.js +++ b/template/config/view.js @@ -7,6 +7,7 @@ module.exports = { content_type: 'text/html', file_ext: '.html', file_depr: '_', + root_path: think.ROOT_PATH + '/view', type: 'ejs', options: {} }; \ No newline at end of file