View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005014 | mantisbt | administration | public | 2004-12-18 13:29 | 2013-10-01 16:05 |
Reporter | HA-Software | Assigned To | atrol | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | 0.19.2 | ||||
Summary | 0005014: Automated editing of config_inc.php | ||||
Description | Mantis should provide admins the ability to configure the system via web interface instead of manual editing by connecting to server and edit the file manualy. | ||||
Tags | No tags attached. | ||||
I am ready do do an instalation/configuration script, Admin(s) can you assing this issue to me please. Script structure : 3.The script will try to connect to database if error occur the data will not be saved into config_inc.php , user will be prompt to verefy DB connexion parameter 4.If DB connexion success, the script will try to see if already instalation is found in the database if yes it will upgrade DB else it will create new tables. |
|
Although I was wandering why there is no such utility when I had my first contact with Mantis, I now think it's better that way. (I know for myself, as a windows user I was not used to be forced to look through such a config file - and it took some time until I realized that I only have to write the changes into the config.inc, so nothing is lost when upgrading to a newer version) Everything is very well commented in config_defaults_inc.php, creating an application to set up mantis, you would double the work because you would have to maintain the desctiption in the .inc file and you would have to update the configurator. |
|
"you would double the work because you would have to maintain the desctiption in the .inc file and you would have to update the configurator." We only have to use a standard syntax for variable syntax so the configurator will be able to analyse comments and assosiate it with the good variable ! I think that it will be a great feature and it will help a lot(i hope ) of people that dont want to learn how php work to instal a bugTracker |
|
I was thinking about attempting something like this as well. config_inc.php should be used to specify db connection parameters, etc., while the rest of the configuration can be stored in the database and accessible through an administrative interface. That way the configuration of the software can be separated from the administration of the software, since the Mantis maintainer might not be the system administrator (as in my case). Edit: It looks like this is already in the works: bug 0004416 |
|
I think it is a great idea. |
|