anchorcms/anchor-cms

getmypid has been disabled for security reason

TheRolfFR opened this issue · 2 comments

Summary

After instllation, it throwned me an error

Expected Behaviour

Gets PHP's process ID

Actual Behaviour

Throws an error

1555678160-screenshot-2019-04-19-uncaught-exception-anchor.png - envoi d'image avec NoelShack

Context details (if applicable)

I have a shared host and it is disabled

There's not so much we can do about this - we rely on the library that uses the function for security reasons...

I had to replace it with a

mt_rand(0,32000);

in order to work :/