summaryrefslogtreecommitdiff
path: root/lib/exe/indexer.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-05-07 17:31:13 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-05-07 17:31:13 +0200
commita4a2d4cf66dd68b9dc9ce51064fae2db8385d81d (patch)
treee17f8afdf47ce8fdd7e098c104ae6477d75fc497 /lib/exe/indexer.php
parent3aee4c27813a30e720d3ad1fbcbd2e372a88573a (diff)
downloadrpg-a4a2d4cf66dd68b9dc9ce51064fae2db8385d81d.tar.gz
rpg-a4a2d4cf66dd68b9dc9ce51064fae2db8385d81d.tar.bz2
metadata hnalding updates, header fixes
This removes the meta instruction again in favour of the new meta renderer. Most tests work now again, a few tweaks were done on the header handler to render certain headers as it did in earlier versions. darcs-hash:20060507153113-7ad00-bd299fbe1762482c72d109f9bca776f12bcea7c8.gz
Diffstat (limited to 'lib/exe/indexer.php')
-rw-r--r--lib/exe/indexer.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/exe/indexer.php b/lib/exe/indexer.php
index d37fb9c9a..05bcb5827 100644
--- a/lib/exe/indexer.php
+++ b/lib/exe/indexer.php
@@ -8,6 +8,7 @@
if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
require_once(DOKU_INC.'inc/init.php');
require_once(DOKU_INC.'inc/auth.php');
+require_once(DOKU_INC.'inc/events.php');
session_write_close(); //close session
if(!defined('NL')) define('NL',"\n");
@@ -86,6 +87,7 @@ function metaUpdate(){
$ID = cleanID($_REQUEST['id']);
if(!$ID) return false;
$file = metaFN($ID, '.meta');
+ echo "meta file: $file".NL;
// rendering needed?
if (@file_exists($file)) return false;
@@ -96,7 +98,7 @@ function metaUpdate(){
$meta = p_render_metadata($ID, $meta);
io_saveFile($file, serialize($meta));
- print "metaUpdate(): finished".NL;
+ echo "metaUpdate(): finished".NL;
return true;
}