- $mod = '';
- switch (REQUEST_GET('mod')) {
- case 'index': $mod = 'guest' ; break;
- case 'login': $mod = 'member'; break;
- default: // Unknown
- DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown mod %s detected.", REQUEST_GET('mod')));
- break;
- } // END - switch