<?php
/*****************************
FILE IGNORED BY GIT

This will tell git you want to start ignoring the changes to the file
git update-index --assume-unchanged path/to/file

When you want to start keeping track again
git update-index --no-assume-unchanged path/to/file
**************************/
error_reporting(E_ALL ^ E_NOTICE);




$env = getenv('WTS_ENV');
if(!$env) {
    include('config/cats.php');
}
else{
    include('config/'.$env.'.php');
}
$TIMEZONE = TIMEZONE;
date_default_timezone_set($TIMEZONE);
$cnx = new PDO(SQL_DSN, SQL_USERNAME, SQL_PASSWORD, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES 'utf8mb4'"));
//$cnx->exec("SET time_zone = '".$TIMEZONE."'");


$GLOBALS["cnx"] = $cnx;
$GLOBALS["rootDir"] = "/var/www/democafc";


$SERVER = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'] . '/kiosqueip/';

require_once("settingsNetisse.php");
require_once("functionsNetisse.php");
?>