3 // DO NOT EDIT THIS FILE!
4 // Values set here can be overridden using config.php
6 // after making changes to config.php, run
7 // htaccess-builder to put your changes into effect
9 // allowed directories, use 0: non-recursive; 1: recursive.
10 // Directories specified here are relative to the parent directory, since
11 // this application is neatly cordoned off into a subdirectory and shouldn't
12 // actually contain any HTML files. Trailing slashes are optional, but
13 // directory MUST exist
14 $allowed_dirs = array('' => 0);
16 //** Controls directory indexing:
17 // false : all directories are assumed to have no index, and Apache
18 // mod_rewrite will not intercept calls to directories unless
19 // explicitly told to via ?purge=1. This means you will be able
20 // to use Apache's built-in directory listings, but an index will
21 // not be automatically regenerated
22 // associative array : an associative array of directory names to the
23 // above values for fine-grained control. If an entry is not in the
24 // the list, XHTML Compiler will assume "true".
25 // Note: it is not currently possible to control the behavior of
26 // subdirectories of directories in which recursion is allowed
27 $indexed_dirs = array();
29 //** Name of file that is a directory's index
30 // Note: there is no support for multiple possible indexes, as Apache
31 // does, and it is currently impossible to use Apache's own DocumentIndex
33 $directory_index = 'index.html';
35 // ** Path to web root of the parent of XHTML Compiler's install library
36 // If you installed XHTML Compiler at /xhtml-compiler, nothing needs to
37 // be done. If you installed it at /subdir/xhtml-compiler, you need
38 // to set this variable to /subdir. MUST NOT have trailing slash
41 // ** Domain name of this server
42 // XHTML Compiler will attempt to automatically populate this variable,
43 // but it WILL NOT be set if you're calling XHTML Compiler from command
44 // line unless you set it explicitly!
45 if (isset($_SERVER['HTTP_HOST'])) $web_domain = $_SERVER['HTTP_HOST'];
46 else $web_domain = null;
48 // ** URL of ViewVC installation
52 // ** Replacement pairs to munge SVN head URLs.
53 // Useful if your working copy is svn+ssh:// but your key is not available
54 // to the script. Format is a numerically indexed array of arrays in the
55 // format of array(match, replace), i.e.
57 // 0 => array('svn+ssh://user@example.com/', 'http://example.com/')
59 // Will only replace if match is at the beginning of the string
60 $svn_headurl_munge = array();
62 // ** Whether or not to print debug information when Exceptions are thrown.
63 // Debug information can disclose full-paths, so enabling them is not
64 // recommended on production environments.
67 // ** Error XML transformation stylesheet
68 // This is the file linked to by XML error messages generated by our
69 // default exception handler
70 $error_xsl = 'xhtml-compiler/error.xsl';
72 // note about error handling: if a default error page is defined that's
73 // within XHTML Compiler's jurisdiction, that error page will be managed
74 // by XHTML Compiler (i.e. mod_rewrite will act upon it) and will apply
75 // to all directories, not just the ones XHTML Compiler manages. However,
76 // pages that XHTML Compiler manages will always be 404 handled by
77 // XHTML Compiler and NOT Apache. What this means is that a default
78 // error page will often be defined, in which case Apache hands the ball
79 // to XHTML Compiler, who displays a much less informative error message.
81 // ** Administrator email
82 // Miscellaneous email notices will be mailed to this address in the event of
83 // errors. This will NOT be published
84 $admin_email = 'admin@' . $web_domain;
87 // Errors will be logged here.
88 $error_log = dirname(__FILE__
) . DIRECTORY_SEPARATOR
. 'errors.log';
90 // ** Error mute semaphore file
91 // When this file exists, error emails will be muted. This generally gets created
92 // when the first error is seen, and then is deleted after the errors are
94 $error_mute = dirname(__FILE__
) . DIRECTORY_SEPARATOR
. 'mute.txt';
96 // ** Configuration documentation file
97 // This is for the ConfigLinker directive, specific for HTML Purifier.
98 // It is the URL <a xc:configdoc="..."> URLs are transformed to.
99 $configdoc = 'http://htmlpurifier.org/live/configdoc/plain.html#%s';