The Shannon Code Method

This simple but effective method requires no database access. We have named this method after the creator - James Shannon (CEO at Ignite Local Marketing). In short, it will reset your admin password to "password".

Create a new php file called site_post.php and place the below following code in it:

<?php
/**
 * This script will reset your admin password to "password"
 * It should be named site_post.php and placed at [your web root]/config/site_post.php
 * After it's been copied, load your website, and your admin password will be reset
 * **** REMEMBER TO DELETE THIS FILE AFTERWARDS, OR YOUR PASSWORD WILL BE CONSTANTLY RESET *****
 * Enjoy. james{a.t}jamesshannon.com
 */
$ui = UserInfo::getByID(USER_SUPER_ID);
$ui->changePassword('password');
?>
Topics
No topics.
Related Posts