git-svn-id: https://192.168.0.254/svn/Proyectos.LaFactoriaVerde_Web/trunk@6 017afc1c-778d-45dc-8efe-cc7a6876851a
46 lines
1.2 KiB
PHP
46 lines
1.2 KiB
PHP
<?php
|
|
|
|
//set up the names of the database and table
|
|
$db_name ="dqxjaadh_factoriaverde";
|
|
$table_name ="authorize";
|
|
|
|
//connect to the server and select the database
|
|
$server = "localhost";
|
|
$dbusername = "dqxjaadh_factori";
|
|
$dbpassword = "q3gm78v69f";
|
|
|
|
//domain information
|
|
$domain = "localhost";
|
|
|
|
//Change to "0" to turn off the login log
|
|
$log_login = "1";
|
|
|
|
//base_dir is the location of the files, ie http://www.yourdomain/login
|
|
$base_dir = "http://www.rodax-software.com/lafactoriaverde.es";
|
|
|
|
//length of time the cookie is good for - 7 is the days and 24 is the hours
|
|
//if you would like the time to be short, say 1 hour, change to 60*60*1
|
|
$duration = time()+(60*60*24*30);
|
|
|
|
//the site administrator\'s email address
|
|
$adminemail = "info@rodax-software.com";
|
|
|
|
//sets the time to EST
|
|
$zone=3600*+1;
|
|
|
|
//do you want the verify the new user through email if the user registers themselves?
|
|
//yes = "0" : no = "1"
|
|
$verify = "0";
|
|
|
|
//default redirect, this is the URL that all self-registered users will be redirected to
|
|
$default_url = "http://www.rodax-software.com/lafactoriaverde.es/";
|
|
|
|
//minimum and maximum password lengths
|
|
$min_pass = 4;
|
|
$max_pass = 8;
|
|
|
|
|
|
$num_groups = 0+2;
|
|
$group_array = array("Usuarios","Administradores");
|
|
|
|
?>
|