You should have received a copy of the GNU General Public License along with Bittytorrent. If not, see <http://www.gnu.org/licenses/>. */ require $path . '/libs/Smarty.class.php'; require $path . '/libs/db.php'; require $path . '/libs/database/ez_sql_core.php'; require $path . '/libs/database/ez_sql_mysql.php'; require $path . "/libs/categories.class.php"; require $path . '/libs/default.class.php'; require $path . '/libs/SmartyPaginate.class.php'; require $path . '/libs/Hooks.class.php'; $db = new ezSQL_mysql($dbuser, $dbpass, $dbname, $dbhost); $smarty = new Smarty(); $hook = new phphooks(); $startUp = new Bittytorrent(); $conf = $startUp->getConfigs(); $startUp->I18n(); require $path . '/libs/lang/lang_' . $_SESSION['strLangue'] . '.php'; // Smarty config $smarty->addPluginsDir($path . '/libs/plugins/'); // $smarty->template_dir = $path.'/themes/v2/'; $smarty->template_dir = $path . '/themes/' . $conf['theme'] . '/'; $smarty->compile_dir = $path . '/libs/cache/compile_tpl/'; $smarty->cache_dir = $path . '/libs/cache/'; $smarty->debugging = false; //$smarty->caching = $conf['timecache']; $smarty->caching = false; $smarty->force_compile = false; $smarty->cache_lifetime = $conf['timecache']; $smarty->config_dir = $path . '/libs/lang/';
/* ___. .__ __ __ __ __ \_ |__ |__|/ |__/ |_ ___.__._/ |_ __________________ ____ _____/ |_ | __ \| \ __\ __< | |\ __\/ _ \_ __ \_ __ \_/ __ \ / \ __\ | \_\ \ || | | | \___ | | | ( <_> ) | \/| | \/\ ___/| | \ | |___ /__||__| |__| / ____| |__| \____/|__| |__| \___ >___| /__| \/ \/ \/ \/ Contact: contact.atmoner@gmail.com This file is part of Bittytorrent. Bittytorrent is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Bittytorrent is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Bittytorrent. If not, see <http://www.gnu.org/licenses/>. */ if (!defined("IN_TORRENT")) { die("Access denied!"); } $Bittytorrent = new Bittytorrent(); $Bittytorrent->logout();