Temporary Directory
Reported by Brian Michalski | November 2nd, 2009 @ 10:01 PM | in Concert 1.9.x
Currently /tmp/ is hardcoded in common/upload.php as the temporary directory to stage file uploads. This technique is not cross platform, and doesn't work well for those who specify a different temp directory (nevermind Windows users).
It looks like there may be some PHP functions that can resolve a path to the preferred temporary directory (sys_get_temp_dir) that might be worth looking into.
Comments and changes to this ticket
-
Brian Michalski November 9th, 2009 @ 09:56 PM
- State changed from new to resolved
-
Brian Michalski March 13th, 2012 @ 02:45 AM
- Milestone order changed from 0 to 0
(from [004b58736a9566e61664789ad5d34578b91fa686]) Added height, width, and hide_fields parameters to template preview. Closes #52, Closes #53.
-
Introducde an ImageUtility module to resize images system-wide. Scales to fit height and width if needed or stretches the image to match exact dimensions.
-
Wired up Template#display to use the image utility.
-
Wired up Template#preview to use the image utility, taking height and width as params. Setting the hide_fields param to true (&hide_fields=true) will not render the fields on a preview.
-
Made the font size selection smarter when rendering templates. https://github.com/concerto/concerto/commit/004b58736a9566e61664789...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Concerto is an open source digital signage system that makes it easy to engage a large community of people with graphical and text-based announcements, bulletins, and other messages... but enough about us, you came here to get involved.
<br />
If you think you've <b>found a bug in Concerto</b>, please click 'Create new ticket' and let us know about it.
<br />
Looking to peek at our source code? Head to <a href="https://github.com/concerto/concerto_v1">https://github.com/concerto/concerto_v1</a> (Concerto version 1) or <a href="https://github.com/concerto/concerto">https://github.com/concerto/concerto</a> (Concerto version 2).
<br />
Our getting started guide is available here: <a href="https://github.com/concerto/concerto/wiki/Getting-Involved">https://github.com/concerto/concerto/wiki/Getting-Involved</a>.
People watching this ticket
Referenced by
- 53 Temporary Directory (from [693]) Auto-detect temp directory if possible. [#53...
- 52 Date format in System Date & Time (from [004b58736a9566e61664789ad5d34578b91fa686]) Added h...