Changeset 52053 in spip-zone


Ignore:
Timestamp:
Sep 29, 2011, 7:15:29 PM (8 years ago)
Author:
gilles.vincent@…
Message:

Avec cette ecriture, fulltext_index_document? vallait true et pas 600

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/fulltext/fulltext_pipelines.php

    r49722 r52053  
    77        $fulltext = sql_fetsel('valeur', 'spip_meta', 'nom = "fulltext"');
    88        $fulltext = unserialize($fulltext['valeur']);
    9         $taches_generales['fulltext_index_document'] = $fulltext['intervalle_cron'] ? $fulltext['intervalle_cron'] : @define('_FULLTEXT_INTERVALLE_CRON',600); // toutes les 10 minutes
     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        }
    1014        return $taches_generales;
    1115}
Note: See TracChangeset for help on using the changeset viewer.