pacoxeon / phpsvg

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

Wrong tmp file name while export to EPS #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create $svg from existing SVG file
2. Try to export it to EPS under non-root user (apache, for reference)

Expected: eps file
Instead: PHP Warning:  file_put_contents(/tmptmp.svg): failed to open stream: 
Permission denied in /var/www/projects/mpakki/test/public/svglib/svglib.php on 
line 188

I tried version 0.8 on CentOS 6.4 and php 5.4

Original issue reported on code.google.com by mpa...@gmail.com on 11 Dec 2014 at 5:55