removed commented out code
This commit is contained in:
parent
56bf57c613
commit
472b5ca14d
18
inc/init.php
18
inc/init.php
|
@ -311,24 +311,6 @@ function init_files(){
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
# create title index (needs to have same length as page.idx)
|
||||
/*
|
||||
$file = $conf['indexdir'].'/title.idx';
|
||||
if(!file_exists($file)){
|
||||
$pages = file($conf['indexdir'].'/page.idx');
|
||||
$pages = count($pages);
|
||||
$fh = @fopen($file,'a');
|
||||
if($fh){
|
||||
for($i=0; $i<$pages; $i++){
|
||||
fwrite($fh,"\n");
|
||||
}
|
||||
fclose($fh);
|
||||
}else{
|
||||
nice_die("$file is not writable. Check your permissions settings!");
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue