Home > php教程 > php手册 > body text

drupal7创始人root忘记密码的解决办法,drupal7root

WBOY
Release: 2016-06-13 09:16:26
Original
794 people have browsed it

drupal7创始人root忘记密码的解决办法,drupal7root

在index.php中的drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);之后加入
require_once 'includes/password.inc';
echo user_hash_password('111111');
die();
Copy after login
运行,得到加密的密文,然后update数据库表users的pass字段。
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template