Created
August 24, 2010 14:57
-
-
Save crittermike/547687 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
name = FGP Custom | |
description = Miscellaneous custom stuff for FGP | |
core = 6.x |
This file contains hidden or 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 | |
function fgp_init() { // This code runs on every page load (i.e., when the module is initialized) | |
if ($_GET['q'] == 'success') { // If the current page is the /success page | |
drupal_goto(); // Redirect to the front page | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment