From ad381404c675e7e697f5a84f901aad70f4989bbf Mon Sep 17 00:00:00 2001 From: Mateusz Zawisza Date: Sat, 18 Aug 2012 12:50:36 +0200 Subject: [PATCH] adds as related columns to the php code --- help.php | 2 ++ mysql.config.php => mysql/mysql.config.php | 0 mysql/tracker.mysql.php | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) rename mysql.config.php => mysql/mysql.config.php (100%) diff --git a/help.php b/help.php index 0f85ec0..14655ed 100644 --- a/help.php +++ b/help.php @@ -442,6 +442,8 @@ function setupMySQL() "`peer_id` binary(20) NOT NULL," . "`compact` binary(6) NOT NULL," . "`ip` char(15) NOT NULL," . + "`as_code` varchar(255) NOT NULL," . + "`country` varchar(255) NOT NULL," . "`port` smallint(5) unsigned NOT NULL," . "`state` tinyint(1) unsigned NOT NULL DEFAULT '0'," . "`updated` int(10) unsigned NOT NULL," . diff --git a/mysql.config.php b/mysql/mysql.config.php similarity index 100% rename from mysql.config.php rename to mysql/mysql.config.php diff --git a/mysql/tracker.mysql.php b/mysql/tracker.mysql.php index 0a8be04..c1feba8 100644 --- a/mysql/tracker.mysql.php +++ b/mysql/tracker.mysql.php @@ -24,7 +24,7 @@ // Configuration /////////////////////////////////////////////////////////////////////////////////// // tracker state -require '../mysql.config.php'; +require 'mysql.config.php'; // Tracker Operations //////////////////////////////////////////////////////////////////////////////