<?php

//                         _______________
//------------------------< SOME INCLUDES >-------------------------------------
//                         ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
include 'config.php';
include 'includes/functions.php';
require_once("includes/configmagik.php");
//                        __________________
//-----------------------< GLOBAL VARIABLES >-----------------------------------
//                        ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ
// current script name
$currentFile= array_pop(explode("/", $_SERVER["SCRIPT_NAME"]));
// txt/db file path
$txtPath = $scriptPath."txt/txtdb.ini.php";
$imagesPath = $scriptPath."images/";

/******************************************************************************/
//                      	MAIN SCRIPT                                   //

poll($txtPath, $imagesPath);
?>
