Created
April 5, 2009 15:04
-
-
Save hubgit/90453 to your computer and use it in GitHub Desktop.
Custom 403 page for Drupal 6 that provides a link to sign in
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
// Enable PHP filter module. | |
// Create a new node with this content. | |
// In Admin > Site Configuration > Error Reporting, set the default 403 page to this node. | |
Access to this page is restricted, please <?php print l(t('sign in'), 'user/login', array('query' => 'destination='. drupal_urlencode($_REQUEST['q']), 'absolute' => TRUE)); ?>. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment