This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi,
For security reasions, I am forced to use a directory that is not called temp in storage...But i don't know how to change the name of the temporary folder in October.
Has anyone ever had to do this? And if so, how should I do it?
Thanks in advance!
protected function getThumbnailImageUrl($imagePath)
{
return Url::to('/storage/temp'.$imagePath);
}
ref. modules/backend/widgets/MediaManager.php
You may want to submit a PR to make this configurable through a Config::get() method call.
Thanks for your help!
I continued to search and I found this : https://github.com/octobercms/october/pull/3050
The request was unfortunately abandoned but this is exactly what I need. I can't find the definition of the temp_path function...
1-6 of 6