این کدهایی هست که در فایل کانفیگ نوشته شده:
$globalConfig['dbhost']="localhost"; // Your MySQL Server Host URL
$globalConfig['dbuser']="root"; // Your MySQL Username
$globalConfig['dbpass']=""; // Your MySQL Password
$globalConfig['dbase']="test"; // Your MySQL Database name
$globalConfig['tbl']="u_users"; // The name of the MySQL table to store the data required
$globalConfig['tblID']="ID"; // The name of the ID field of the MySQL table
$globalConfig['tblUserName']="userName"; // The name of the Username field of the MySQL table
$globalConfig['tblUserPass']="userPass"; // The name of the Userpassword field of the MySQL table
$globalConfig['tblUserGroup']="userGroup"; // The name of the User Group field of the MySQL table
$globalConfig['tblSessionID']="sessionID"; // The name of the ID field of the MySQL table
$globalConfig['tblLastLog']="lastLog"; // The name of the Time field of the MySQL table
$globalConfig['tblemail']="email"; // The name of the Remarks field of the MySQL table
این کدها در ابتدای فایل index.php نوشته شده:
session_start() ;
include("include/config.php");
include("include/db.class.php");
include("include/functions.php");
include_once("include/jdf.php");
$db=new DB($globalConfig['dbase'], $globalConfig['dbhost'],$globalConfig['dbuser'], $globalConfig['dbpass']);