summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/init.php b/inc/init.php
index 552f98526..c097cd5bd 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -133,6 +133,7 @@ function init_paths(){
'mediadir' => 'media',
'metadir' => 'meta',
'cachedir' => 'cache',
+ 'indexdir' => 'index',
'lockdir' => 'locks');
foreach($paths as $c => $p){
@@ -157,9 +158,7 @@ function init_paths(){
function init_files(){
global $conf;
- $files = array( $conf['cachedir'].'/word.idx',
- $conf['cachedir'].'/page.idx',
- $conf['cachedir'].'/index.idx');
+ $files = array( $conf['indexdir'].'/page.idx');
foreach($files as $file){
if(!@file_exists($file)){