Changeset 248
- Timestamp:
- 05/23/07 17:28:44
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
FreakAuth/trunk/www/system/application/config/freakauth_light.php
r245 r248 68 68 /* 69 69 |-------------------------------------------------------------------------- 70 | Enable/Disable the Flash Message notice system (only for the deny system) 71 |-------------------------------------------------------------------------- 72 | 73 | if TRUE, uses FLASH messages and a redirect to deny the visitor 74 | if FALSE, only loads the page you defined in $config['FAL_denied_page'] 75 | 76 */ 77 $config['FAL_flash'] = TRUE; 70 | Enable/Disable the Flash Message notice system FOR THE DENY SYSTEM ONLY 71 |-------------------------------------------------------------------------- 72 | 73 | when a visitor is not allowed to see a particular page, his (her) access 74 | is "denied" 75 | 76 | if TRUE, FAL uses a FLASH message and a "redirect back" to deny the visitor 77 | if FALSE, FAL only loads the page you defined in $config['FAL_denied_page'] 78 | 79 */ 80 $config['FAL_deny_with_flash_message'] = TRUE; 78 81 79 82 /* … … 91 94 /* 92 95 |------------------------------------------------------------------------------ 93 | Page loaded if 'FAL_ flash' set to FALSE96 | Page loaded if 'FAL_deny_with_flash_message' set to FALSE 94 97 |------------------------------------------------------------------------------ 95 98 | FreakAuth/trunk/www/system/application/libraries/Freakauth_light.php
r247 r248 188 188 * doesn't have enough credentials 189 189 * 190 * if FAL_ flash == true in config file, displays a flash message191 * and redirect to the referer page (or rootif none)190 * if FAL_deny_with_flash_message == true in config file, displays a flash 191 * message and redirects to the referer page (or homepage if none) 192 192 * 193 193 * else displays the FAL_denied_page (see config file) … … 198 198 { 199 199 $this->CI->lang->load('freakauth'); 200 if ($this->CI->config->item('FAL_ flash'))200 if ($this->CI->config->item('FAL_deny_with_flash_message')) 201 201 { 202 202 // if visitor is a GUEST
