You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.1 KiB

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
12 years ago
/*
| -------------------------------------------------------------------
| Aauth Config
| -------------------------------------------------------------------
| A library Basic Authorization for CodeIgniter 2.x
*/
// Config variables
$config['aauth'] = array(
'login_page' => '/login',
// if user don't have permisssion to see the page he will be
// redirected the page spesificed below
'no_permission' => '/',
//name of admin group
'admin_group' => 'admin',
12 years ago
//name of default group, the new user is added in it
12 years ago
'default_group' => 'default',
// public group , people who not logged in
'public_group' => 'public',
// The table which contains users
'users' => 'aauth_users',
// the group table
'groups' => 'aauth_groups',
//
'user_to_group' => 'aauth_user_to_group',
// permitions
'perms' => 'aauth_perms',
// perms to group
'perm_to_group' => 'aauth_perm_to_group',
11 years ago
// perms to group
'perm_to_user' => 'aauth_perm_to_user',
12 years ago
// pm table
12 years ago
'pms' => 'aauth_pms',
11 years ago
// system variables
'system_variables' => 'aauth_system_variables',
11 years ago
// user variables
'user_variables' => 'aauth_user_variables',
12 years ago
12 years ago
// remember time
12 years ago
'remember' => ' +3 days',
// pasword maximum char long (min is 4)
'max' => 13,
// non alphanumeric characters that are allowed in a name
'valid_chars' => array(' ', '\''),
// ddos protection,
//if it is true, the user will be banned temporary when he exceed the login 'try'
'ddos_protection' => true,
'recaptcha_active' => false,
'recaptcha_login_attempts' => 4,
'recaptcha_siteKey' => '',
'recaptcha_secret' => '',
12 years ago
// login attempts time interval
// default 20 times in one hour
'max_login_attempt' => 10,
12 years ago
12 years ago
// to register email verifitaion need? true / false
'verification' => false,
12 years ago
// system email.
12 years ago
'email' => 'admin@admin.com',
11 years ago
'name' => 'Emre Akay'
12 years ago
);
/* End of file aauth.php */
/* Location: ./application/config/aauth.php */