drupal7创始人root忘记密码的解决办法
在index.php中的drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);之后加入
require_once 'includes/password.inc';echo user_hash_p<p>5本文来源gao!daima.com搞$代!码#网#</p><pre>搞代gaodaima码
assword(‘111111’);die();
运行,得到加密的密文,然后update数据库表users的pass字段。
drupal7创始人root忘记密码的解决办法
在index.php中的drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);之后加入
require_once 'includes/password.inc';echo user_hash_p<p>5本文来源gao!daima.com搞$代!码#网#</p><pre>搞代gaodaima码
assword(‘111111’);die();
运行,得到加密的密文,然后update数据库表users的pass字段。