<?php
define('VISIOLIST', 1);
$CONF = array();
$FORM = array();
$TMPL = array();
// Set encoding for multi-byte string functions
mb_internal_encoding("UTF-8");
// Change the path to your full path if necessary
$CONF['path'] = '.';
// Connect to the database
// Set the last argument of $DB->connect to 1 to enable debug mode
require_once ("{$CONF['path']}/settings_sql.php");
require_once ("{$CONF['path']}/sources/sql/{$CONF['sql']}.php");
$DB = "sql_{$CONF['sql']}";
$DB = new $DB;
$DB->connect($CONF['sql_host'], $CONF['sql_username'], $CONF['sql_password'], $CONF['sql_database'], 0);
$DB->query("TRUNCATE TABLE {$CONF['sql_prefix']}_ip_log", __FILE__, __LINE__);
$DB->close();