Compatibilité SPIP 5.0-dev
``` Fatal error: Uncaught Error: Undefined constant "_ROOT_CWD" in nospam_pipelines.php:446 #0 [internal function]: nospam_flush_and_update() #1 {main} thrown in /nospam_pipelines.php on line 446 ``` À remplacer pour le moment par ```php use function \SpipLeague\Component\Kernel\app; $cwd = app()->getCwd(); ``` Et donc avec un test, par exemple ```php use function \SpipLeague\Component\Kernel\app; if (function_exists('app')) { $cwd = app()->getCwd(); } else { $cwd = _ROOT_CWD; } ```
issue

Forge communautaire SPIP | Charte d'utilisation | Signaler un problème sur ce site