[drupal-devel] Re: [CS dev] Worth a look: Symphony

Khalid B kb at 2bits.com
Thu Sep 29 22:33:46 UTC 2005


Dries

http://drupal.org/node/32622

I was working on something similar for this, but a bit more elaborate,
allowing a customized message on the front page, as well as an on/off
setting.

Only drawback is as mentioned: you can lock yourself out.

> > On 9/29/05, Dries Buytaert <dries at buytaert.net> wrote:
> > > To give you a quick idea, here is how my modified index.php looks like:
> > >
> > >
> > > $maintenance = FALSE;
> > >
> > > require_once './includes/bootstrap.inc';
> > > drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
> > >
> > > if ($maintenance && $user->uid != 1) {
> > >    drupal_set_title("We'll be right back");
> > >    print theme('maintenance_page', 'Drupal.org is being upgraded.  We
> > > should be back in a jiffy.');
> >
>



More information about the drupal-devel mailing list