mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Use lfs.currentdir() to get default root_dir as an absolute path
This commit is contained in:
@@ -7,7 +7,7 @@ FileManager = InputContainer:extend{
|
||||
title = _("FileManager"),
|
||||
width = Screen:getWidth(),
|
||||
height = Screen:getHeight(),
|
||||
root_path = './',
|
||||
root_path = lfs.currentdir(),
|
||||
-- our own size
|
||||
dimen = Geom:new{ w = 400, h = 600 },
|
||||
onExit = function() end,
|
||||
|
||||
Reference in New Issue
Block a user