Location: PHPKode > projects > Shell Providers Customer/Accounts DB > shelldb/includes/config.php
<?php

/*******************************
* Configuration File 
* 
* For ShellDB, please edit
* the relevent varibles 
* otherwise it will not
* work
*
* Thanks
* John Mitchell
* Programmer ShellDB
*******************************/

/******************************************
* Change below to your settings for MySQL
******************************************/

$shelldb_host  = 'localhost';  		//Change to the hostname of your database
$shelldb_db    = 'shelldb';			//Change to the name of your database
$shelldb_user  = 'shelldb';			//Change to the username for MySQL
$shelldb_pass  = 'taurine';		//Change to the password for MySQL

//Change this to the value of your home page

$shelldb_url  = 'http://shelldb.icn-solutions.net';

//Versioning Information Is Stored Below:- Please do not edit

$shelldb_version = '1.0.2 Claire';

// Verification Script Below

function is_admin() {
	
	if(session_is_registered("administrator")) {
		return 1;
	} else {
		return 0;
	}
}

function is_user() {
	
	if(session_is_registered("validuser") || session_is_registered("administrator")) {
		return 1;
	} else {
		return 0;
	}
}


?>
Return current item: Shell Providers Customer/Accounts DB