<?
{foreach $access_tmp as $item}
$access['{$item|escape:"quotes"}']=1;
{/foreach}
{foreach $config_tmp as $key=>$item}
{if is_array($item)}
{foreach $item as $subitem}
$config['{$key|escape:"quotes"}'][]='{$subitem|escape:"quotes"}';
{/foreach}
{else}
$config['{$key|escape:"quotes"}']='{$item|escape:"quotes"}';
{/if}
{/foreach}
?>