Home > Backend Development > PHP Tutorial > drupal7创始人root忘记密码的解决方法

drupal7创始人root忘记密码的解决方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:14:18
Original
791 people have browsed it

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

在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:
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
Latest Issues
There is no bootstrap custom video tutorial
From 1970-01-01 08:00:00
0
0
0
Laravel: Problem using bootstrap locally
From 1970-01-01 08:00:00
0
0
0
html5 - Problem with bootstrap modifying style
From 1970-01-01 08:00:00
0
0
0
Introducing bootstrap is invalid
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template