HDS02 / timthumb

Automatically exported from code.google.com/p/timthumb
0 stars 1 forks source link

Just fix a bug #480

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Problem about symlink on linux system.

I think we have a bug about fetch resource linked with symlink.

----
Solution:

Add $_SERVER['DOCUMENT_ROOT'] = realpath($_SERVER['DOCUMENT_ROOT']);

Please update your utility for better support user. 

Thanks.

Original issue reported on code.google.com by tuanph...@gmail.com on 19 Mar 2014 at 7:23