Remove notice

This commit is contained in:
Michael RICOIS 2017-03-28 12:37:56 +02:00
parent be94b95f19
commit f8261fb887

View File

@ -9,8 +9,7 @@ if (defined('DEBUG') == false) {
// --------------------------------------------------------------------------- //
// databaseJO
// --------------------------------------------------------------------------- //
function databaseJO()
{
function databaseJO() {
$db = new mysqli(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, 'jo');
if (mysqli_connect_error()) {
println('Ne peut pas se connecter a la base.');
@ -23,8 +22,7 @@ function databaseJO()
// --------------------------------------------------------------------------- //
// println
// --------------------------------------------------------------------------- //
function println($ln = '')
{
function println($ln = '') {
print $ln.'<br/>';
}
@ -36,13 +34,8 @@ if (DEBUG) {
{
print $ln.'<br/>';
}
} elseif (LOCAL) {
function debugln($ln = '')
{
}
} else {
function debugln($ln = '')
{
function debugln($ln = '') {
/*
$fp = fopen(LOG_PATH.'/recherchesDebug.log', 'a');
fwrite($fp, $ln."\n");