Browse files

Seed the random number generator, always

See pull request 207.
  • Loading branch information...
franzliedke committed Dec 31, 2018
1 parent 4ad5078 commit d949784600ccd2d62cc80274dd79b9fe5456ac38
Showing with 3 additions and 0 deletions.
  1. +3 −0 include/common.php
@@ -66,6 +66,9 @@
// Record the start time (will be used to calculate the generation time for the page)
$pun_start = get_microtime();
// Seed the random number generator for systems where this does not happen automatically
// Make sure PHP reports all errors except E_NOTICE. FluxBB supports E_ALL, but a lot of scripts it may interact with, do not
error_reporting(E_ALL ^ E_NOTICE);

0 comments on commit d949784

Please sign in to comment.