summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-09-17 13:54:05 +0200
committerAndrey Andreev <narf@devilix.net>2014-09-17 13:54:05 +0200
commit607d5e287a24403e4578a69f8065d0ede8cce56e (patch)
tree90cc25ed16ef74d7a2e4004485936c83c51fda76 /system/core
parent2c6cdd7d3ac4c929bf6fa172b6ba48c282e3a831 (diff)
Fix a defined() check
Close #3233
Diffstat (limited to 'system/core')
-rwxr-xr-xsystem/core/Security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index 0dc74a284..181ace20b 100755
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -565,7 +565,7 @@ class CI_Security {
}
// Unfortunately, none of the following PRNGs is guaranteed to exist ...
- if (defined(MCRYPT_DEV_URANDOM) && ($output = mcrypt_create_iv($length, MCRYPT_DEV_URANDOM)) !== FALSE)
+ if (defined('MCRYPT_DEV_URANDOM') && ($output = mcrypt_create_iv($length, MCRYPT_DEV_URANDOM)) !== FALSE)
{
return $output;
}