diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-06-18 21:21:30 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-06-18 21:21:30 +0000 |
commit | 0c5b324809dcb44de8690f7bba21fec607bd67d1 (patch) | |
tree | ebb35d175a3dd84744088fdc36e9b84ba465fcdd /index.php | |
parent | 2f149c56e7ebb03987187867799dedad37f5e1fd (diff) | |
download | brdo-0c5b324809dcb44de8690f7bba21fec607bd67d1.tar.gz brdo-0c5b324809dcb44de8690f7bba21fec607bd67d1.tar.bz2 |
- Improvement: made the default homepage setting more flexible. Patch by
Eric A. Farris.
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -6,6 +6,10 @@ include_once "includes/common.inc"; if (isset($_GET["q"])) { $mod = arg(0); } +else { + $_GET["q"] = variable_get("site_frontpage", "node"); + $mod = arg(0); +} if (isset($mod) && module_hook($mod, "page")) { if ($mod != "admin") { |