diff options
author | Michal Čihař <michal@cihar.com> | 2008-09-03 17:27:43 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2008-09-03 17:27:43 +0400 |
commit | 85cdc82d4d997034a36de8821194c53e53d58017 (patch) | |
tree | d78f0121c9735a5796211ad0971272e792477796 /main.php | |
parent | 737b292e0d3ae526c9d1ef64398539f3da7d0957 (diff) |
Cookie auth now autogenerates blowfish_secret, but it has some limitations and you still should set it in config file
Diffstat (limited to 'main.php')
-rw-r--r-- | main.php | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -284,6 +284,14 @@ if (! @extension_loaded('mbstring')) { } /** + * Check if user does not have defined blowfish secret and it is being used. + */ +if (!empty($_SESSION['auto_blowfish_secret']) && + empty($GLOBALS['cfg']['blowfish_secret'])) { + trigger_error($strSecretRequired, E_USER_WARNING); +} + +/** * Warning about different MySQL library and server version * (a difference on the third digit does not count). * If someday there is a constant that we can check about mysqlnd, we can use it instead |