The path to the shadowlamb #motd command was wrong, it repeated the
module path twice.
Fixed full path disclosure: When unable to read the motd file, the
full path to it's supposed location was disclosed
Remove error-suppression operator: The only case when this might be
possibly relevant is when the file is not readable, the PHP doc states
it "generates a WARNING" in that case. Added the is_readable check to
resolve this.
Return early on not-found motd file. This avoids Having a message
Message of the day: after the error message
#motd
command was wrong, it repeated the module path twice.is_readable
check to resolve this.Message of the day:
after the error messageFixes issue #21