PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Cuonic   Auth Class   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Auth Configuration file
Class: Auth Class
Manage accounts and authenticate users
Author: By
Last change: Updating to latest version
Date: 12 years ago
Size: 1,209 bytes
 

Contents

Class file image Download
<?php

// ------------------------
// MySQL Configuration :
// ------------------------

$db['host'] = "********";
$db['user'] = "********";
$db['pass'] = "********";
$db['name'] = "********";

// ------------------------
// Auth Configuration :
// ------------------------

$auth_conf['site_name'] = "Auth Test"; // Name of website to appear in emails
$auth_conf['email_from'] = "no-reply@auth.cuonic.tk"; // Email FROM address for Auth emails (Activation, password reset...)
$auth_conf['max_attempts'] = 5; // INT : Max number of attempts for login before user is locked out
$auth_conf['base_url'] = "http://auth.cuonic.tk/"; // URL to Auth Class installation root WITH trailing slash
$auth_conf['session_duration'] = "+1 month"; // Amount of time session lasts for. Only modify if you know what you are doing ! Default = +1 month
$auth_conf['security_duration'] = "+30 minutes"; // Amount of time to lock a user out of Auth Class afetr defined number of attempts.

$auth_conf['salt_1'] = "us_1dUDN4N-53"; // Salt #1 for password encryption
$auth_conf['salt_2'] = "Yu23ds09*d?"; // Salt #1 for password encryption

$loc = "en"; // Language of Auth Class output : en / fr

?>