Not a bug sys_get_temp_dir has no trailing slash

thedude

Well-known member
XFMG 1.05a

In XenGallery_Model_File::saveImageResource, line 159

Code:
$tmpFileName = sys_get_temp_dir() . "$dataId-" . uniqid() . '.data';

sys_get_temp_dir doesn't return the trailing '/' so it probably should be included right before $dataId

However I noticed saveImageResource is never actually called from stock XFMG, so maybe it's being built for future use.

Just a heads up
 
It's the opposite. It's actually some very old code or experimental code I left in.

That will get removed at some point, but not a bug, for now.

Thanks though.
 
Back
Top Bottom