oseawey / timthumb

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

Patch for /trunk/timthumb.php #158

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was trying to get timthumb working in a userdir under Apache2 but it was 
consistently unable to find my image files.  Investigation revealed that  
SCRIPT_FILENAME was /home/{username}/public_html and timthumb kept prefixing 
/var/www even though SCRIPT_FILENAME was an absolute path.  This patch does a 
simple check to see if SCRIPT_FILENAME is an absolute path and if so it does 
not prefix the DOCUMENT_ROOT.

Original issue reported on code.google.com by jazz13 on 10 Feb 2011 at 3:29

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the submission, I have made the change!

Original comment by BinaryMoon on 13 Feb 2011 at 9:46

GoogleCodeExporter commented 9 years ago
Issue 149 has been merged into this issue.

Original comment by BinaryMoon on 11 Jun 2011 at 8:59