Changes between Version 2 and Version 3 of TracIni


Ignore:
Timestamp:
Oct 31, 2010 9:00:39 PM (12 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracIni

    v2 v3  
    11= The Trac Configuration File =
     2
    23[[TracGuideToc]]
    34
     
    1314{{{
    1415[inherit]
    15 file = /usr/share/trac/conf/trac.ini
     16file = /path/to/global/trac.ini
    1617}}}
     18Multiple files can be specified using a comma-separated list.
    1719
    18 Note that you can also specify a global option file when creating a new project,  by adding the option `--inherit=/path/to/global/options` to [TracAdmin trac-admin]'s `initenv` command.  If do not do this but nevertheless intend to use a global option file with your new environment, you will have to go through the newly generated conf/trac.ini file and delete the entries that will otherwise override those set in the global file.
     20Note that you can also specify a global option file when creating a new project,  by adding the option `--inherit=/path/to/global/trac.ini` to [TracAdmin#initenv trac-admin]'s `initenv` command.  If you do not do this but nevertheless intend to use a global option file with your new environment, you will have to go through the newly generated `conf/trac.ini` file and delete the entries that will otherwise override those set in the global file.
    1921
     22There are two more entries in the [[#inherit-section| [inherit] ]] section, `templates_dir` for sharing global templates and `plugins_dir`, for sharing plugins. Those entries can themselves be specified in the shared configuration file, and in fact, configuration files can even be chained if you specify another `[inherit] file` there.
    2023
    2124== Reference for settings
    2225
    2326This is a brief reference of available configuration options.
     27
     28 ''Note that the [bitten], [spam-filter] and [vote] sections below are added by plugins enabled on this Trac, and therefore won't be part of a default installation.''
    2429
    2530[[TracIni]]
     
    132137See TracWorkflow for more details.
    133138
    134 
    135139----
    136140See also: TracGuide, TracAdmin, TracEnvironment