Skip to content

The "message" function may be called indirectly by the Scheduler. #19

@kirirur

Description

@kirirur

Some functions defined in file game/include/functions.php can be called also by the Scheduler tasks (for example the add_logbook_entry function), but errors log should go on scheduler log file, not UI log file (as it is at the moment), especially because depending on the environment log file could be not written by the Scheduler (different ownership).

The function should use define IN_SCHEDULER to handle different behaviors according to different environments where it may be called.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions