Skip to content

Instantly share code, notes, and snippets.

@jamesshannon
jamesshannon / site_post.php
Created June 26, 2012 05:34
Concrete5 Password Reset Script
<?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. [email protected]
*/
$ui = UserInfo::getByID(USER_SUPER_ID);