What are the conditions in if()? When LocalSettings.php is executed, a lot of things are not ready.
On 1/30/10, 李琴 <[email protected]> wrote: > Hi, > I want to revise permissions of Local wiki. But this problem bothers me. > For example, > > in DefaultSetting.php, there is $wgGroupPermissions['user' ]['read'] = > true; > I want to revise in this way. > If(……) > { > $wgGroupPermissions['user' ]['read'] = false; > } > But the result is the value of $wgGroupPermissions['user' ]['read'] is > still true,it can not be revised under the condition. > > Look forward to your reply.Thanks. > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
