From a0413026dce3838975919cde85b28d5db39b071e Mon Sep 17 00:00:00 2001 From: Znote Date: Sun, 13 Nov 2016 21:29:27 +0100 Subject: [PATCH] Removing zeotss services. This was a project in development that never got functional. --- config.php | 11 +---------- engine/init.php | 4 ++-- myaccount.php | 28 ++-------------------------- 3 files changed, 5 insertions(+), 38 deletions(-) diff --git a/config.php b/config.php index 395e087..79e0a9f 100644 --- a/config.php +++ b/config.php @@ -560,16 +560,7 @@ 'debug' => false, // Enable debugging if you have problems and are looking for errors. 'fromName' => $config['site_title'], ); - // Use Znote's External Open Tibia Services Server - // Currently in Alpha and is pretty useless, but will contain paypal blacklist etc in future. - // You can use the official server: http://zeotss.znote.eu/ - // Or host your own private one, here is the code: https://github.com/Znote/ZEOTSS - $config['zeotss'] = array( - 'enabled' => false, - 'visitors' => false, - 'debug' => false, - 'server' => "http://zeotss.znote.eu/" - ); + // Don't touch this unless you know what you are doing. (modifying this(key value) also requires modifications in OT files /XML/commands.xml). $config['ingame_positions'] = array( 1 => 'Player', diff --git a/engine/init.php b/engine/init.php index 65a21a5..112289f 100644 --- a/engine/init.php +++ b/engine/init.php @@ -25,9 +25,9 @@ ob_start(); require_once 'config.php'; $sessionPrefix = $config['session_prefix']; -if ($config['paypal']['enabled'] || $config['zeotss']['enabled']) { +if ($config['paypal']['enabled']) { $curlcheck = function_exists('curl_version') ? true : false; - if (!$curlcheck) die("php cURL is not enabled. It is required to for paypal and ZEOTSS services.
1. Find your php.ini file.
2. Uncomment extension=php_curl
Restart web server.

If you don't want this then disable zeotss and paypal in config.php."); + if (!$curlcheck) die("php cURL is not enabled. It is required to for paypal services.
1. Find your php.ini file.
2. Uncomment extension=php_curl
Restart web server.

If you don't want this then disable paypal in config.php."); } require_once 'database/connect.php'; diff --git a/myaccount.php b/myaccount.php index 4e7e1a4..2ffbcba 100644 --- a/myaccount.php +++ b/myaccount.php @@ -347,29 +347,5 @@ if ($render_page) { data->exist === false) { - ?> - - +include 'layout/overall/footer.php'; +?> \ No newline at end of file