Changeset 771

Show
Ignore:
Timestamp:
01/15/07 00:51:05 (2 years ago)
Author:
Neal
Message:

extern.php now respects maintenance mode.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/upload/extern.php

    r233 r771  
    149149if (!isset($lang_common)) 
    150150        exit('There is no valid language pack \''.$pun_config['o_default_lang'].'\' installed. Please reinstall a language of that name.'); 
     151 
     152// Check if we are to display a maintenance message 
     153if ($pun_config['o_maintenance'] && !defined('PUN_TURN_OFF_MAINT')) 
     154        maintenance_message(); 
    151155 
    152156if (!isset($_GET['action']))