seatgeek/djjob

QuickFix - Solution provided - shell_exec() has been disabled for security reasons

Closed this issue · 2 comments

On line https://github.com/seatgeek/djjob/blob/master/DJJob.php#L217, the "hostname" throws the following error in strict environments: "shell_exec() has been disabled for security reasons"

Fix: replace "hostname" with "gethostname()".

Merged, thanks for the pr.

You're welcome!