- // lancer et initialiser les nouveaux crons !
- include_spip('inc/genie');
- genie_queue_watch_dist();
+ // attendre eventuellement l'invalidation du cache opcode
+ spip_attend_invalidation_opcode_cache();
+
+ if (spip_connect()) {
+ // lancer et initialiser les nouveaux crons !
+ include_spip('inc/genie');
+ genie_queue_watch_dist();
+ }