diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-11 19:44:24 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-11 19:44:24 +0000 |
commit | 4711869f52897077b52f76b54a74982de3ff0e9b (patch) | |
tree | f2633c6f760e9faba9a825d5feb1a30af566f955 /modules/headline.module | |
parent | dc93ff3260b15f4660ea40901a9ea227e60b43f1 (diff) | |
download | brdo-4711869f52897077b52f76b54a74982de3ff0e9b.tar.gz brdo-4711869f52897077b52f76b54a74982de3ff0e9b.tar.bz2 |
- fixed a small SQL bug in page.module
- slightly improved story.module, node.module and book.module
- made the "default theme" a setting from the setting page
- polished a bit on the export function: we can now export the
book or parts thereof through the following url:
1. http://drop.org/export/book/
(full book)
2. http://drop.org/export/book/nid
(where nid is the node id to start with)
The export routine demonstrates how it can be done yet the
output is too basic and can only improve over time.
Diffstat (limited to 'modules/headline.module')
-rw-r--r-- | modules/headline.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/headline.module b/modules/headline.module index 81a52e580..ac216c53c 100644 --- a/modules/headline.module +++ b/modules/headline.module @@ -191,7 +191,7 @@ function headline_admin() { function headline_export($uri) { global $status, $HTTP_REFERER, $HTTP_USER_AGENT; - if ($uri[1] == "headlines.rdf") { + if ($uri[2] == "headlines.rdf") { watchdog("message", "grabbed 'headlines.rdf' - referring url: $HTTP_REFERER - user agent: $HTTP_USER_AGENT"); header("Content-Type: text/plain"); |