<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Runtime Configuration</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="tidy.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="tidy.resources.html">Resource Types</a></div> <div class="up"><a href="tidy.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="tidy.configuration" class="section"> <h2 class="title">Runtime Configuration</h2> <p class="simpara"> The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>. </p> <p class="para"> <table class="doctable table"> <caption><strong>Tidy Configuration Options</strong></caption> <thead> <tr> <th>Name</th> <th>Default</th> <th>Changeable</th> <th>Changelog</th> </tr> </thead> <tbody class="tbody"> <tr> <td><a href="tidy.configuration.html#ini.tidy.default-config" class="link">tidy.default_config</a></td> <td>""</td> <td>PHP_INI_SYSTEM</td> <td class="empty"> </td> </tr> <tr> <td><a href="tidy.configuration.html#ini.tidy.clean-output" class="link">tidy.clean_output</a></td> <td>"0"</td> <td>PHP_INI_USER</td> <td>PHP_INI_PERDIR prior to PHP 5.4.0</td> </tr> </tbody> </table> For further details and definitions of the PHP_INI_* modes, see the <a href="configuration.changes.modes.html" class="xref">Where a configuration setting may be set</a>. </p> <p class="para">Here's a short explanation of the configuration directives.</p> <p class="para"> <dl> <dt id="ini.tidy.default-config"> <span class="term"> <em><code class="parameter">tidy.default_config</code></em> <span class="type"><a href="language.types.string.html" class="type string">string</a></span> </span> <dd> <p class="para"> Default path for tidy config file. </p> </dd> </dt> <dt id="ini.tidy.clean-output"> <span class="term"> <em><code class="parameter">tidy.clean_output</code></em> <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span> </span> <dd> <p class="para"> Turns on/off the output repairing by Tidy. </p> <div class="warning"><strong class="warning">Warning</strong> <p class="para"> Do not turn on <em>tidy.clean_output</em> if you are generating non-html content such as dynamic images. </p> </div> </dd> </dt> </dl> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="tidy.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="tidy.resources.html">Resource Types</a></div> <div class="up"><a href="tidy.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>