Reset drupal admin password define('DRUPAL_ROOT', getcwd()); require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); require('includes/password.inc'); echo user_hash_password('mypassword'); die();
Post a Comment