Thread: glob Error
View Single Post
  #3   Spotlight this post!  
Unread 03-02-2007, 19:39
Astronouth7303's Avatar
Astronouth7303 Astronouth7303 is offline
Why did I come back?
AKA: Jamie Bliss
FRC #4967 (That ONE Team)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Grand Rapids, MI
Posts: 2,071
Astronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud ofAstronouth7303 has much to be proud of
Re: glob Error

We use glob() to detect plugins. The alternative is not something I want to maintain. (opendir(), etc.)

safe_mode is something that breaks a lot of software, unfortunately. It isn't very subtle or delicate in terms of the way it secures PHP--disable everything potentially dangerous.

As for coding around it, I removed the compatibility version (Because we stopped supporting PHP3).

That is not to say that it couldn't be added back--it's just something we hadn't considered.

Of course, I could just use http://us3.php.net/manual/en/function.glob.php#71083 for it.

Just file a bug so I don't forget.
Reply With Quote