\documentclass{article}
\usepackage{ulem}
\pagestyle{headings}
\begin{document}

\noindent\rule{\textwidth}{1pt}
\part{ How-To Create/Edit Local Config Files (.local.php)}
Colortext: NIthis is a new page and work is in progress, if you have anything to add please updateColortext: NI

First read Configuration Files\footnote{http://example.com/index.php?page=Doc/Dev/Configuration}

Applying changes to the files in \texttt{config/} (does not apply to \texttt{conf.php} as this is managed though the web-interface and updated automatically) directories is not recommended as when you update Horde modules these files will be replaced.\newline
Horde has supplied us a method to get around this problem with local overrides which are not overwritten each time the modules are updated. There are also other methods such as \texttt{vhosts} or \texttt{prefs.d/} which this article does not go into directly but the principle is the same.

There are a few ways to add entries into the local files.

\begin{itemize}
\item{Replace full array}
\end{itemize}
\begin{verbatim}

$mime_drivers = array(
    /* HTML driver settings */
    'html' => array(
        /* NOTE: Inline HTML display is turned OFF by default. */
        'inline' => false,
        'handles' => array(
            'text/html'
        ),
        'icons' => array(
            'default' => 'html.png'
        ),

        /* If you want to limit the display of message data inline for large
         * messages, set the maximum size of the displayed message here (in
         * bytes).  If exceeded, the user will only be able to download the
         * part. Set to 0 to disable this check. */
        'limit_inline_size' => 1048576,

        /* Check for phishing exploits? */
        'phishing_check' => true
    )
);
\end{verbatim}

\begin{itemize}
\item{Replace individual array entry}
\end{itemize}
\begin{verbatim}

/* HTML driver settings */
$mime_drivers['html'] = array(
        /* NOTE: Inline HTML display is turned OFF by default. */
        'inline' => false,
        'handles' => array(
            'text/html'
        ),
        'icons' => array(
            'default' => 'html.png'
        ),

        /* If you want to limit the display of message data inline for large
         * messages, set the maximum size of the displayed message here (in
         * bytes).  If exceeded, the user will only be able to download the
         * part. Set to 0 to disable this check. */
        'limit_inline_size' => 1048576,

        /* Check for phishing exploits? */
        'phishing_check' => true
    );

\end{verbatim}

\begin{itemize}
\item{Modify individual entries within the array}
\end{itemize}
\begin{verbatim}

$mime_drivers['html']['inline']=true;
\end{verbatim}

\begin{itemize}
\item{Merge array to existing array (useful in the case of the format seen in mime\_drivers.php)}
\end{itemize}
\begin{verbatim}

$mime_drivers=array_merge($mime_drivers,array(
    /* Plain text viewer. */
    'plain' => array(
        'inline' => true,
        'handles' => array(
            'application/pgp',
            'text/plain',
            'text/rfc822-headers'
        ),

        /* If you want to limit the display of message data inline for large
         * messages, set the maximum size of the displayed message here (in
         * bytes).  If exceeded, the user will only be able to download the
         * part. Set to 0 to disable this check. */
        'limit_inline_size' => 1048576,

        /* If you want to scan ALL incoming text/plain messages for UUencoded
         * data, set the following to true. This is very performance intensive
         * and can take a long time for large messages. It is not recommended
         * (as UUencoded data is rare these days) and is disabled by
         * default. */
        'uudecode' => false
    ),

    /* HTML driver settings */
    'html' => array(
        /* NOTE: Inline HTML display is turned OFF by default. */
        'inline' => false,
        'handles' => array(
            'text/html'
        ),
        'icons' => array(
            'default' => 'html.png'
        ),

        /* If you want to limit the display of message data inline for large
         * messages, set the maximum size of the displayed message here (in
         * bytes).  If exceeded, the user will only be able to download the
         * part. Set to 0 to disable this check. */
        'limit_inline_size' => 1048576,

        /* Check for phishing exploits? */
        'phishing_check' => true
    )
));
\end{verbatim}

\end{document}
