mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
remove absolute path
This commit is contained in:
parent
6a14e78617
commit
8cb62d5a59
1 changed files with 1 additions and 4 deletions
|
@ -297,10 +297,7 @@ function serveYnhpanel()
|
|||
serveAsset("/ynh_portal.js", "js/ynh_portal.js")
|
||||
serveAsset("/ynh_overlay.css", "css/ynh_overlay.css")
|
||||
-- serve theme's files
|
||||
-- FIXME? I think it would be better here not to use an absolute path
|
||||
-- but I didn't succeed to figure out where is the current location of the script
|
||||
-- if you call it from "portal/assets/themes/" the ls fails
|
||||
scandir("/usr/share/ssowat/portal/assets/themes/"..conf.theme, serveThemeFile)
|
||||
scandir("themes/"..conf.theme, serveThemeFile)
|
||||
end
|
||||
|
||||
--
|
||||
|
|
Loading…
Add table
Reference in a new issue