Skip to content

Commit

Permalink
Fix issue #1 (crypt fail to load config)
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Feb 20, 2011
1 parent d80c1e0 commit 92cef7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fuel/core/classes/crypt.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ public static function _init()
static::$have_mcrypt = function_exists('mcrypt_encrypt');

// load the config
$config = \Config::load('crypt', true);
\Config::load('crypt', true);

$config = \Config::get('crypt', array ());

// update the defaults with the configed values
foreach($config as $key => $value)
Expand Down

0 comments on commit 92cef7d

Please sign in to comment.