diff options
author | gweissbach <gweissbach@inetsoftware.de> | 2008-08-04 13:24:44 +0200 |
---|---|---|
committer | gweissbach <gweissbach@inetsoftware.de> | 2008-08-04 13:24:44 +0200 |
commit | 3a50618c0d0d03fe5cbf1d782868e84b873f2e89 (patch) | |
tree | 63a8790437448c0f56c3d85d94d46661618b8fb7 /bin/indexer.php | |
parent | f426fffeaedd0f7d5b6075f6fbc8575a7d21a1b2 (diff) | |
download | rpg-3a50618c0d0d03fe5cbf1d782868e84b873f2e89.tar.gz rpg-3a50618c0d0d03fe5cbf1d782868e84b873f2e89.tar.bz2 |
Explicite TypeCast for searchIndex
Running the /bin/indexer.php or the searchindex plugin fails in php5
with several type cast errors. This can be fixed using explicite type casts.
Secondly the include plugin requires the auth.php to be present. As some other
plugins might use quick-acl or the $auth too, indexer.php should require the auth.php
just as the lib/exe/indexer.php does.
darcs-hash:20080804112444-f4337-e12f25329236689b05e31f0db2119e47660a9404.gz
Diffstat (limited to 'bin/indexer.php')
-rwxr-xr-x | bin/indexer.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/indexer.php b/bin/indexer.php index c62f97882..2507ea26b 100755 --- a/bin/indexer.php +++ b/bin/indexer.php @@ -8,6 +8,7 @@ require_once(DOKU_INC.'inc/common.php'); require_once(DOKU_INC.'inc/pageutils.php'); require_once(DOKU_INC.'inc/search.php'); require_once(DOKU_INC.'inc/indexer.php'); +require_once(DOKU_INC.'inc/auth.php'); require_once(DOKU_INC.'inc/cliopts.php'); session_write_close(); |