View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Email attachment directory - ProjeQtOr
 

Email attachment directory

More
23 Aug 2017 20:32 #1 by eabjoker
The email attachment directory is hard-coded to place files under the web root.

From Cron.php line 529
$emailAttachmentsDir=dirname(__FILE__) . '/../files/attach';

This resolves to '<webroot>/model/../files/attach' -> '<webroot>/files/attach'

My files directory is outside of the webroot and this line breaks the Cron mail check feature since '<webroot>/files' does not exist.

Can you add a configuration parameter for setting the attach directory for emails? Or use the same config setting as for attachments directory under Global Parameters->Files and directories->attachments directory.

Please Log in or Create an account to join the conversation.

More
27 Aug 2017 20:37 #2 by babynus
Replied by babynus on topic Email attachment directory
Hi,

Thanks for pointing out this issue.
What is change is that if it resolves to '<webroot>/model/../files/attach' -> '<webroot>/files/attach', this means that <webroot> is directly projector folder, so /files/attach should exist (even if not used if you moved this directory in parameters, as advinsed) because it is created on deployment.
And there should be no issue as this feature (attachment is emails) is not used yet.

I've recorded a ticket to fix this, because it may becme important (at least for security) when it will be used.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.035 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.