Hi all,

I'm working on adding DansGuardian configuration in config.xml. In
order to achieve this, I need to be able to write some arrays I put
into $config to config.xml. I.e.
extensions => array('banned'=>array(), 'excluded'=>array()) etc.

I'm trying to find which file/function does this $subject conversion.
An example would be:

In config.xml:
<filter>
<rule>......</rule>
<rule>......</rule>
<rule>......</rule>
</filter>

becomes
'filter'=> array(
0=>....., 1=>....., 2=>.....)
in $config (and the reverse is also true of course)

I have been searching pfsense's .inc and .php files, but i haven't
been able to pinpoint where it is done. Could you point me in the
right direction?


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Commercial support available - https://portal.pfsense.org

Reply via email to