source: spip-zone/_plugins_/fulltext/fulltext_pipelines.php @ 52053

Last change on this file since 52053 was 52053, checked in by gilles.vincent@…, 10 years ago

Avec cette ecriture, fulltext_index_document? vallait true et pas 600

File size: 535 bytes
Line 
1<?php
2/**
3 * Plugin FullText/Gestion des documents
4 */
5
6function fulltext_taches_generales_cron($taches_generales) {
7        $fulltext = sql_fetsel('valeur', 'spip_meta', 'nom = "fulltext"');
8        $fulltext = unserialize($fulltext['valeur']);
9        if ($fulltext['intervalle_cron']) {$taches_generales['fulltext_index_document'] = $fulltext['intervalle_cron'];
10        } else {
11                @define('_FULLTEXT_INTERVALLE_CRON',600); // toutes les 10 minutes
12                $taches_generales['fulltext_index_document'] = _FULLTEXT_INTERVALLE_CRON;
13        }
14        return $taches_generales;
15}
16
17?>
Note: See TracBrowser for help on using the repository browser.