diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-07-16 20:14:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-07-16 20:14:26 +0000 |
commit | 8759ca7368fbe6014286b320cf25185fc1e1a602 (patch) | |
tree | 866d91c2a873e06d7ef8bc2af5afeb9d60c5235f /index.php | |
parent | 1252d51264e9cc45062fe60c2a6b5d6ccf18b8cc (diff) | |
download | brdo-8759ca7368fbe6014286b320cf25185fc1e1a602.tar.gz brdo-8759ca7368fbe6014286b320cf25185fc1e1a602.tar.bz2 |
- Commited the URL aliasing patch. Thanks Matt.
This update requires you to run update.php!
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,10 @@ include_once "includes/common.inc"; if (isset($_GET["q"])) { - $mod = arg(0); + if (module_exist("node") && $path = node_get_alias($_GET["q"])) { + $_GET["q"] = $path; + } + $mod = arg(0); } else { $_GET["q"] = variable_get("site_frontpage", "node"); |