- switch (getConfig('maintenance'))
- {
- case "Y": // Maintenance mode is active
- define('ADMIN_MAINTENANCE_MODE', getMessage('ADMIN_MAINTENANCE_MODE_IS_ACTIVE'));
- break;
+ switch (getConfig('maintenance')) {
+ case 'Y': // Maintenance mode is active
+ $message = getMessage('ADMIN_MAINTENANCE_MODE_IS_ACTIVE');
+ break;