我对 ion_auth 有疑问。我为 Mongodb 转换了所有需要的文件。我的配置文件 mongo_db.php
<?
$config['mongo_host'] = 'localhost';
$config['mongo_port'] = 27017;
$config['mongo_db'] = 'tls_saas';
$config['mongo_user'] = 'root';
$config['mongo_pass'] = 'root';
$config['mongo_persist'] = TRUE;
$config['mongo_persist_key'] = 'ci_mongo_persist';
?>
ion_auth.php
$config['use_mongodb'] = TRUE;
/*
| -------------------------------------------------------------------------
| MongoDB Collection.
| -------------------------------------------------------------------------
| Setup the mongodb docs using the following command:
| $ mongorestore sql/mongo
|
*/
$mongorestore = 'sql/mongo';
$config['collections']['users'] = 'users';
$config['collections']['groups'] = 'groups';
$config['collections']['login_attempts'] = 'login_attempts';
但我仍然得到错误
不存在的类:Mongo_db
是他们再做些改变。ion_auth 现在与 mongodb 一起工作??