<?php
$dirName = dirname(__FILE__);
if (file_exists($dirName . '/../../../config.ini')){
    $config = parse_ini_file($dirName . '/../../../config.ini');
} else if (file_exists($dirName . '/../../../../config.ini')){
    $config = parse_ini_file($dirName . '/../../../../config.ini');
} else{
    $config = parse_ini_file(dirname(__FILE__). '/../../../../../config.ini');
}

/* define database connection information */
$cfg['dbHost'] = $config['database.host'];   // your database hostname
$cfg['dbUser'] = $config['database.username'];      // your database username
$cfg['dbPass'] = $config['database.password'];      // your database password
$cfg['dbName'] = $config['database.dbname'];      // your database name

/* define general website inforamtion */
$cfg['sitename'] = $config['session.name'];
$cfg['siteurl'][] = "http://sitemanager-dev.go";   // list all of your possible url here
$cfg['siteurl'][] = "http://sitemanager-dev";

/* select language file in 'lang' directory */
$cfg['langFile'] = "english.php";


/* choose pages counter's title options */
$cfg['pagestats'] = "fulladd";   // fulladd: url with _GET variables, like index.php?action=make
								 // filename: count with filename only, like index.php or article.php
								 // title: html title (not suggest for high performace website)
								 // DEFAULT: 'fulladd'

/* set the permission for yor statistics */
$cfg['public'] = false;   // change it to FALSE if you don't want public your statistics

$cfg['username'] = "goweb";      // statistics access username and password, just ignore this if
$cfg['password'] = "stats4goweb!";		// you set $cfg['public'] to TRUE