diff --git a/ecrire/public/composer.php b/ecrire/public/composer.php index 2364d6578a47f2c8d5244c864b7304a127a9b29b..55729ac811e19ebcb705f81ba464e40a8c039b5e 100644 --- a/ecrire/public/composer.php +++ b/ecrire/public/composer.php @@ -309,9 +309,11 @@ if ($lang_select) lang_select(); * Code PHP pour inclure le squelette de la balise dynamique **/ function synthetiser_balise_dynamique($nom, $args, $file, $context_compil) { - if (strncmp($file, "/", 1) !== 0 + if ( + strncmp($file, "/", 1) !== 0 // pas de lien symbolique sous Windows - and !(stristr(PHP_OS, 'WIN') and strpos($file, ':') !== false)) { + and !(stristr(PHP_OS, 'WIN') and strpos($file, ':') !== false) + ) { $file = './" . _DIR_RACINE . "' . $file; }