Skip to content

Instantly share code, notes, and snippets.

💭
White Mage

Douglas Muth dmuth

💭
White Mage
Block or report user

Report or block dmuth

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dmuth
dmuth / gist:1587034
Created Jan 10, 2012
How to secure a Drupal site
View gist:1587034
<?php
/**
*
* From my blog post at:
*
* http://www.dmuth.org/node/1202/how-secure-drupal-site
*
*/
$path = getenv("SCRIPT_URL");
View drupal-chatroom-block.php
<?php
/**
* This code is to load a chat created with Drupal's Chat Room module
* (http://drupal.org/project/chatroom) into a block.
* If implemented properly, users will be able to chat from any page
* on the site that displays this block.
*
* @author Douglas Muth <http://www.dmuth.org/>
*/
You can’t perform that action at this time.