diff --git a/htdocs/ftp/pre.inc.php b/htdocs/ftp/pre.inc.php index 84c9f1326dc..2fd4c498d2d 100644 --- a/htdocs/ftp/pre.inc.php +++ b/htdocs/ftp/pre.inc.php @@ -21,7 +21,7 @@ * \brief File to manage left menu for FTP module */ -require ("../main.inc.php"); +require (realpath(dirname(__FILE__)) . "/../main.inc.php"); $user->getrights('ecm'); diff --git a/test/phpunit/hudson_phpunittest.xml b/test/phpunit/hudson_phpunittest.xml index f549ef314c4..9d967312661 100644 --- a/test/phpunit/hudson_phpunittest.xml +++ b/test/phpunit/hudson_phpunittest.xml @@ -7,7 +7,7 @@ convertNoticesToExceptions="true" convertWarningsToExceptions="true" colors="true" - processIsolation="false" + processIsolation="true" stopOnFailure="false" syntaxCheck="true"> @@ -53,6 +53,7 @@ ../../htdocs/boutique/ ../../htdocs/compta/paiement/cheque/ ../../htdocs/compta/bank/ + ../../htdocs/ftp/ ../../htdocs/core/filemanagerdol/ ../../htdocs/custom/ ../../htdocs/products/canvas/ @@ -74,4 +75,4 @@ - \ No newline at end of file +