Re: [RCU] temp directory
On 14/10/14 3:49 PM, admin wrote: The defaults.inc.php file (which I assume represents the settings if they are not modified by your config.inc.php) does have a "temp" folder statement. $config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/'; The "RCUBE_INSTALL_PATH" part is kind of weird since it's not a variable? Not too sure... It's a constant. E.g.: Outputs "PHP is good!" You can define but not change constants, and they're global and always in scope (you don't have to use 'global' or $_GLOBALS to access them). Ben. Mine does point to the root install folder where I have a temp folder. On 10/14/2014 12:33 AM, Robert Moskowitz wrote: I am looking at my old test setup on Centos6, and the tempdir is set to: main.inc.php:$rcmail_config['temp_dir'] = '${_tmppath}'; I can't find where the variable tmppath is defined though at a guess it is some Centos apache or php default temp path? I see that the main.inc.php is gone and the format now is: config.inc.php:$config['temp_dir'] = ''; So I tried: config.inc.php:$config['temp_dir'] = '${_tmppath}'; And of course this did not work. I was not supprised. How might I figure out how tmppath is defined, or where is a better place for temp files than under /usr/share? Like /tmp/? thanks ___ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users ___ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users ___ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Re: [RCU] temp directory
The defaults.inc.php file (which I assume represents the settings if they are not modified by your config.inc.php) does have a "temp" folder statement. $config['temp_dir'] = RCUBE_INSTALL_PATH . 'temp/'; The "RCUBE_INSTALL_PATH" part is kind of weird since it's not a variable? Not too sure... Mine does point to the root install folder where I have a temp folder. On 10/14/2014 12:33 AM, Robert Moskowitz wrote: I am looking at my old test setup on Centos6, and the tempdir is set to: main.inc.php:$rcmail_config['temp_dir'] = '${_tmppath}'; I can't find where the variable tmppath is defined though at a guess it is some Centos apache or php default temp path? I see that the main.inc.php is gone and the format now is: config.inc.php:$config['temp_dir'] = ''; So I tried: config.inc.php:$config['temp_dir'] = '${_tmppath}'; And of course this did not work. I was not supprised. How might I figure out how tmppath is defined, or where is a better place for temp files than under /usr/share? Like /tmp/? thanks ___ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users ___ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Re: [RCU] temp directory
Geraldo Luis wrote: > *_Hi friends,_* > > I can remove temp directory of rouncube ?? There are stored attachments while compising the message. This directory location is set by 'temp_dir' option. -- Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252 LAN Management System Developer http://lms.org.pl Roundcube Webmail Project Developer http://roundcube.net ___ List info: http://lists.roundcube.net/users/