From d6dd9f8dec89fa7fa0bdcf1cf5ec5d97550067fd Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 21 Sep 2010 19:10:07 +0000 Subject: [PATCH] Fix: best test --- htdocs/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 37091c3f61e..8019f8b25b9 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -3456,7 +3456,7 @@ function dol_eval($s) } -if (! function_exists('glob')) +if (! function_exists('glob') && ! is_callable('glob')) { /** * \brief For replace glob() function