Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.
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 '/model/../files/attach' -> '/files/attach'
My files directory is outside of the webroot and this line breaks the Cron mail check feature since '/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.
Hi,
Thanks for pointing out this issue.
What is change is that if it resolves to '/model/../files/attach' -> '/files/attach', this means that 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.