Changeset 852
- Timestamp:
- 08/29/08 23:45:19 (3 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/maintenance_mode/trunk/maintenance_mode.plugin.php
r851 r852 112 112 public function filter_theme_act_display_maintenance( $handled, $theme ) 113 113 { 114 115 header("HTTP/1.1 503 Service Unavailable"); 116 header('Retry-After: 900'); 117 114 118 if ($theme->template_exists('maintenance')) { 115 119 $theme->maintenance_text = Options::get( self::OPTION_NAME . '__text' ); … … 117 121 } 118 122 else { 123 header("HTTP/1.1 503 Service Unavailable"); 119 124 $theme->display('header'); 120 125 echo '<h1>' . htmlspecialchars( Options::get( self::OPTION_NAME . '__text' ), ENT_COMPAT, 'UTF-8' ) . '</h1>';
