Fix: best test
This commit is contained in:
parent
9906ca9707
commit
4b4aeae842
@ -3380,7 +3380,7 @@ function dol_eval($s)
|
||||
/**
|
||||
* \brief For replace glob() function
|
||||
*/
|
||||
if (! function_exists('glob'))
|
||||
if (! function_exists('glob') && ! is_callable('glob'))
|
||||
{
|
||||
function glob($pattern)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user