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.

92 lines
2.5 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',
// pm table
'pm' => 'aauth_pm',
// remember time // 60*60*24*3 (default 3 days)
'remember' => ' +3 days',
// pasword maximum char long (min is 4)
'max' => 13,
// it limits login attempts
'dos_protection' => true,
// login attempts time interval
// default 10 times in one minute
'try' => 10,
// system email.
'email' => 'emre@emreakay.com',
'name' => 'Emre Akay',
'subject' => 'Account Vertification',
'reset' => 'Pasword Reset',
// to register email verifitaion need? true / false
'verification' => true,
// error mesages
// change to your language
'email_taken' => 'E-mail is already taken',
'email_invalid' => 'E-mail invalid',
'pass_invalid' => 'Password invalid',
'name_invalid' => 'Name invalid',
'code' => 'Your code is: ',
'link' => ' or you can copy and paste falowing link http://localhost/vert/',
'remind' => 'If you want to reset your password click the copy and go the link below http://localhost/reset/',
'new_password' => 'Your new password is : ',
// no access
'no_access' => 'You dont have access.',
//
'wrong' => 'E-mail or Password is wrong.',
'exceeded' => 'Login try limit exceeded.',
'no_user' => 'User not Exist',
'group_exist' => 'Group already exists',
//info
'already_member' => 'User already member of group',
'already_perm' => 'Permission name already existed'
);
/* End of file autoload.php */
/* Location: ./application/config/autoload.php */