New method detectServerAddress() added which should rewrite your code ito.
[core.git] / inc / classes / main / rng / class_RandomNumberGenerator.php
index 27a3672..857478f 100644 (file)
@@ -103,7 +103,7 @@ class RandomNumberGenerator extends BaseFrameworkSystem {
                // Do we have a single server?
                if ($this->getConfigInstance()->getConfigEntry('is_single_server') == 'Y') {
                        // Then use that IP for extra security
-                       $serverIp = $this->getConfigInstance()->getServerAddress();
+                       $serverIp = $this->getConfigInstance()->detectServerAddress();
                } // END - if
 
                // Yet-another fixed salt. This is not dependend on server software or date