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.
74 lines
2.0 KiB
74 lines
2.0 KiB
12 years ago
|
<?php
|
||
|
|
||
|
if (!defined('BASEPATH'))
|
||
|
exit('No direct script access allowed');
|
||
|
/*
|
||
|
| -------------------------------------------------------------------
|
||
|
| 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
|
||
11 years ago
|
'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,
|
||
|
|
||
11 years ago
|
// non alphanumeric characters that are allowed in a name
|
||
|
'valid_chars' => array(' ', '\''),
|
||
|
|
||
11 years ago
|
// ddos protection,
|
||
|
//if it is true, the user will be banned temporary when he exceed the login 'try'
|
||
|
'ddos_protection' => true,
|
||
|
|
||
12 years ago
|
// login attempts time interval
|
||
11 years ago
|
// default 20 times in one hour
|
||
11 years ago
|
'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' => '[email protected]',
|
||
11 years ago
|
'name' => 'Emre Akay'
|
||
12 years ago
|
|
||
|
);
|
||
|
|
||
|
|
||
|
/* End of file autoload.php */
|
||
11 years ago
|
/* Location: ./application/config/autoload.php */
|