Member
Member
adrianzak   2009-01-26, 04:04
#1

Hi,

My gallery was working fine, I didn't made any change, but today I got this error at the top of the site:

Warning: glob() has been disabled for security reasons in home/ ...

What's the problem? How can I fix this?

Thank you.

Member
Member
sbillard   2009-01-26, 05:03
#2

This is a change that your Internet Service Provider has made. Glob() is a function used to retrieve the contents of a folder. Some providers unnecessarily restrict this function--it can be used securly which zenphoto does--or it can be used to discover folders that perhaps should not be shown.

Fortunately, zenphoto can deal with this unreasonable exercise of paranoia. Older versions of zenphoto have a define SAFE_GLOB that you need to set to true. The current version has eleminated the use of glob() entirely.

Member
Member
adrianzak   2009-01-28, 00:20
#3

Thanks for your fast reply.

Problem solved.

Thank you.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.