config file location #1664

rcubetrac opened this Issue Jul 16, 2008 · 7 comments

1 participant


Reported by schmonz on 16 Jul 2008 06:12 UTC as Trac ticket #1485215

The attached patch enables RoundCube config files to be stored in an alternate location. The default location remains "config", and can be changed by editing a define in index.php.



Comment by @till on 18 Jul 2008 20:19 UTC

I'd probably make the constant dirname(__FILE__) . '/config'. Otherwise looking good to me. If no one else has an objection, I'd commit this soon.


Comment by @thomascube on 22 Jul 2008 08:05 UTC

Remember, index.php is not always used (see bin/*.php)

Make sure that this new constant is alwas defined as done with INSTALL_PATH in iniset.php or define it directly in iniset.php instead of index.php


Comment by schmonz on 25 Jul 2008 00:56 UTC

thomasb, I've done just as you said: the new constant is defined in iniset.php now. (Don't mind the '@PKG_SYSCONFDIR@' bit, that'll be a local patch in our package system; remove it and comment in the other define.)

till, I don't understand that PHP syntax, but feel free to do as you like. :-)

I can't vouch for the installer, but otherwise everything seems to work fine here with this updated patch.


Comment by schmonz on 12 Sep 2008 19:31 UTC

Any word on this? I see there's lots of activity in svn -- would be great if this were included in time for the next snapshot. Thanks!


Comment by @thomascube on 19 Sep 2008 18:30 UTC

Added in bba657e

Please note that the RCMAIL_CONFIG_DIR constant has to be changed in installer/index.php as well as in in program/include/iniset.php)


Status changed by @thomascube on 19 Sep 2008 18:30 UTC

new => closed


Milestone changed by @thomascube on 19 Sep 2008 18:30 UTC

later => 0.2-beta

@rcubetrac rcubetrac closed this Sep 19, 2008
@rcubetrac rcubetrac added this to the 0.2-beta milestone Mar 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment