Skip to content

Commit

Permalink
removed commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Feb 3, 2017
1 parent 56bf57c commit 472b5ca
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions inc/init.php
Expand Up @@ -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!");
}
}
*/
}

/**
Expand Down

0 comments on commit 472b5ca

Please sign in to comment.