diff --git a/lib/Alchemy/Phrasea/Controller/Prod/Root.php b/lib/Alchemy/Phrasea/Controller/Prod/Root.php index c227378d88..fe3e3bb7db 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/Root.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/Root.php @@ -55,7 +55,7 @@ class Root implements ControllerProviderInterface { if (substr($file, 0, 1) == "." || mb_strtolower($file) == "cvs") continue; - if (is_dir($cssPath . $file)) + if (is_dir($cssPath . $file) && ctype_xdigit($file)) { $css[$file] = $file; } diff --git a/lib/classes/eventsmanager/notify/downloadmailfail.class.php b/lib/classes/eventsmanager/notify/downloadmailfail.class.php index 8242189a83..c76b8009b9 100644 --- a/lib/classes/eventsmanager/notify/downloadmailfail.class.php +++ b/lib/classes/eventsmanager/notify/downloadmailfail.class.php @@ -169,10 +169,8 @@ class eventsmanager_notify_downloadmailfail extends eventsmanager_notifyAbstract $date = new\DateTime('now'); -// $text = sprintf(_("L'export effectué le %s à destination de %s concernant les elements suivants %s à echoue pour les raisons suivantes : %s") -// ,$date->format("Y-m-d H:i:s"), $dest, implode(', ', $records), $reason); $text = sprintf(_("L'export effectué le %s à destination de %s à echoue pour les raisons suivantes : %s") - ,$date->format("Y-m-d H:i:s") , $reason); + ,$date->format("Y-m-d H:i:s") , $dest, $reason); } else diff --git a/lib/phpunit.xml.dist b/lib/phpunit.xml.dist index 0daccfcdda..262c5f2fb4 100644 --- a/lib/phpunit.xml.dist +++ b/lib/phpunit.xml.dist @@ -31,6 +31,13 @@ ../lib/unitTest/ + + + + ./vendor + ./unitTest + +