Probably when trying out the FileSenderCli these warnings appeared in my web server error log:
Undefined array key "HTTP_ACCEPT_LANGUAGE" in /opt/filesender/classes/utils/Lang.class.php on line 265
The only call to Lang::getUserAcceptedLanguages() is from formatDate() in classes/utils/Utilities.class.php that then iterates over the result foreach ($al as $k => $v) so I guess returning an empty array in the pathological case makes sense.
Probably when trying out the FileSenderCli these warnings appeared in my web server error log:
The only call to
Lang::getUserAcceptedLanguages()
is fromformatDate()
in classes/utils/Utilities.class.php that then iterates over the resultforeach ($al as $k => $v)
so I guess returning an empty array in the pathological case makes sense.