Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function MYTHEME_preprocess_page(&$vars) {
- if (variable_get('maintenance_mode')) {
- $variables['theme_hook_suggestions'] = array('maintanence_page');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement