- Code: Select all
$installer->add_config("'1305','guild_protected_group','0','function{getProtectedGroup','smf_menu_guild'");
in my installer, I would like to rewrite the function getProtectedGroup to just getGroup("guild_protected_group").
I changed the installer to
- Code: Select all
$installer->add_config("'1305','guild_protected_group','0','function{getProtectedGroup("guild_protected_group")','smf_menu_guild'");
I tried to get it to work and got this error
- Code: Select all
Fatal error: Call to undefined function getProtectedGroup("guild_protected_group")() in C:\wamp\www\roster20\lib\config.lib.php on line 390
I can see what is happening, but was wondering if there was already a way to do this..