diff options
Diffstat (limited to 'bin/indexer.php')
-rwxr-xr-x | bin/indexer.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/indexer.php b/bin/indexer.php index f84e1abf2..0eb1fbe48 100755 --- a/bin/indexer.php +++ b/bin/indexer.php @@ -79,6 +79,7 @@ function _index($id){ _lock(); echo "$id... "; idx_addPage($id); + umask($conf['umask']); io_saveFile(metaFN($id,'.indexed'),' '); echo "done.\n"; _unlock(); @@ -124,6 +125,7 @@ function _clearindex(){ global $conf; _lock(); echo "Clearing index... "; + umask($conf['umask']); io_saveFile($conf['cachedir'].'/word.idx',''); io_saveFile($conf['cachedir'].'/page.idx',''); io_saveFile($conf['cachedir'].'/index.idx',''); |