drupal7创始人root忘记密码的解决办法,drupal7root
在index.php中的drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);之后加入require_once 'includes/password.inc'; echo user_hash_password('111111'); die();运行,得到加密的密文,然后update数据库表users的pass字段。
require_once 'includes/password.inc'; echo user_hash_password('111111'); die();运行,得到加密的密文,然后update数据库表users的pass字段。
PHP之友评论