[drupal-devel] [drupal-infrastructure] Drupal cache statistics

Karoly Negyesi karoly at negyesi.net
Wed Jun 1 13:19:15 UTC 2005

> > > comments if you agree to make the custom PHP settings for blocks
> > > return
> > > an array of allowed paths instead of just TRUE or FALSE.
> >
> > I'm afraid that isn't a workable solution.
> Why do you think so? Your current code is something like:
> if (arg(0) == 'forum') return TRUE;
> if (arg(0) == 'node') return TRUE;

The custom PHP settings are, well, custom PHP code. You may want to display 
a block only for new users. On the week of christmas. Under red moon. 
err... whatever.

More information about the drupal-devel mailing list