
13 May
2015
13 May
'15
3:41 p.m.
On Mon, May 11, 2015 at 04:25:26PM +0000, Colin Anderson wrote:
I had to go into /includes/defaults.inc.php and comment out the line $config['bad_iftype'][] = "atmSubInterface"; I know we're only supposed to edit the config.php, so how would we override the setting from the defaults? I'm guessing my change will get overwritten next time the defaults file get's updated.
-Colin Anderson
I think doing the following in config.php would remove the value you want:
if (($key = array_search("atmSubInterface", $config['bad_iftype'])) !== false) { unset $config['bad_iftype'][$key]; }
without resorting to editing defaults.inc.php, if config.php is processed after the defaults file.
--
Brandon Ewing (nicotine@warningg.com)