[#1015] Automatically copy .dist files when possible
Summary Automatically copy .dist files when possible
Queue Horde Base
Queue Version HEAD
Type Enhancement
State Resolved
Priority 2. Medium
Owners Horde Developers, chuck@horde.org
Requester chuck@horde.org
Created 2004-12-24 (5682 days ago)
Due
Updated 2006-05-18 (5172 days ago)
Assigned 2004-12-24 (5682 days ago)
Resolved 2006-05-18 (5172 days ago)
Milestone
Patch No

Comments
Chuck Hagenbuch <chuck@horde.org> 2004-12-24 01:47:49
scripts/setup.php, admin/setup/, and Horde_Test::configFilesMissing() 
should all automatically copy *.dist files to the .php version IFF the 
.php versions are missing (never overwrite, just do initial copies) to 
make things as smooth as possible for as many people as possible.

Chuck Hagenbuch <chuck@horde.org> 2005-03-05 20:23:03
The Horde_Test version of this is now done.

Jan Schneider <jan@horde.org> 2005-10-21 20:36:00
Should we blindly do this with all .dist files in the config 
directories? Hord_Tests::configFilesMissing() currently relies on 
index.php providing the necessary file names.

Chuck Hagenbuch <chuck@horde.org> 2005-10-22 00:51:40
I don't see problems with doing so, especially as we've been careful 
lately to make sure that anything optional in an optional config file 
is commented out by default.

Chuck Hagenbuch <chuck@horde.org> 2006-05-18 15:46:24
scripts/setup.php no longer deals with applications, and if the admin 
page can copy config files, so can the code in Horde_Test triggered by 
hitting index.php. Therefore I say this is done.