This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// register event so that our SiteDiscussionWallPoster::hookPageAdd() gets called when pages get added | |
Events::extend('on_page_add', 'SiteDiscussionWallPoster', 'hookPageAdd', false); | |
class SiteDiscussionWallPoster { | |
/** | |
* gets called when on_page_add event is fired. adds a wall posting if page of type "discussion_post" was added |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace LSL\Libraries; | |
defined('C5_EXECUTE') or die('Access Denied.'); | |
/** | |
* @package lerteco_shared_libraries | |
* @subpackage helpers | |
* @copyright James Shannon | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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); |
NewerOlder