Fixed bug #11266: Remove initialization of the random number generator
[Packages/TYPO3.CMS.git] / typo3 / index.php
index 11b2145..95c4c28 100644 (file)
@@ -500,7 +500,6 @@ class SC_index {
                                $files = t3lib_div::getFilesInDir($dir,'png,jpg,gif');
 
                                        // Pick random file:
-                               srand((float) microtime() * 10000000);
                                $randImg = array_rand($files, 1);
 
                                        // Get size of random file: