Login   Register  
PHP Classes
elePHPant
Icontem

File: config.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of ian james  >  User Auth Mgr  >  config.php  >  Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: main configuration
Class: User Auth Mgr
Create and manage user records in a MySQL database
Author: By
Last change:
Date: 2010-10-08 22:10
Size: 787 bytes
 

Contents

Class file image Download
<?php

ini_set
("include_path"".:./inc:../classes");

$dbhost 'localhost';
$dbname 'fr';
$dbuser 'b';
$dbpass '7';
define('HOST','localhost');
define('USER','b');
define('PASS','7');

$user_base_dir './media';
$user_table "users";
$admin_user_table "admin_users";

// optional config for additional user info
// 1) add/create additional user info table to DB by editing the create_user_info_table.php file
// 2) update UserAuthMgrUserTable.php file
// 3) call to getUserInfo() will join user auth table to additional user info table
//     application client will have to know user info table format
// var          =    table name in DB
$user_info_table 'user_info';

$kit_table 'kit';

$adminemail 'admin@admin.com';   // TODO change to real site admin email


?>