[TYPO3-dev] TYPO3-Site Maintanance

Dmitry Dulepov [typo3] dmitry at typo3.org
Tue Sep 25 09:50:43 CEST 2007


Steffen Kamper wrote:
> The easiest way in my eyes is following:
> 
> - need a simple static page "Maintainance" (could be with Headline and a 
> nice picture)  -  this will be default
> - in localconf.php a var is defined for maintanance (if 1 then go)
> - in localconf.php a var is defined for alternativ page (path) to show
> 
> in index.php
> - read localconf
> - if flag is found: show maintanance page and make an exit.
> 
> very easy and useful (in my eyes)

Not that easy because configuration is included in defined order and sometimes you may want avoid loading even localconf.php. I think there is much easier way but I need to consider a bit...

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs




More information about the TYPO3-dev mailing list