If you install WebFM and go straight to the file manager itself (/webfm), without first filling out the settings form (admin/settings/webfm), the variable "webfm_icon_dir" is not set, and the icons in the interface are broken. Since there are default icons available, these should always be used if "webfm_icon_dir" is not set.

Attached is a patch that makes use of variable_get's default value in this case.

CommentFileSizeAuthor
webfm_default_icon_dir.patch2.93 KBmr.baileys

Comments

robmilne’s picture

Thanks. In head.

robmilne’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.