From 3113d89ef189e4cbeacea0ad4e76e184840aa7b3 Mon Sep 17 00:00:00 2001 From: lopar Date: Sun, 28 Jan 2018 21:23:59 +0200 Subject: [PATCH] Config Cleanup --- .idea/battles-game.iml | 4 +- .idea/workspace.xml | 1251 ++++++++++++++++++++++++++++++++-------- config.php | 30 - 3 files changed, 1016 insertions(+), 269 deletions(-) diff --git a/.idea/battles-game.iml b/.idea/battles-game.iml index c956989..fff71a8 100644 --- a/.idea/battles-game.iml +++ b/.idea/battles-game.iml @@ -1,7 +1,9 @@ - + + + diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 0fcb425..d992d58 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,9 +1,10 @@ - + + - + - - + + - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + + @@ -133,6 +443,10 @@ @@ -190,7 +504,7 @@ - + @@ -279,7 +593,9 @@ - @@ -311,69 +627,85 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -523,93 +855,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -645,5 +890,535 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/config.php b/config.php index 5f237bd..256a305 100644 --- a/config.php +++ b/config.php @@ -5,39 +5,9 @@ define("GAMEDOMAIN","combats.loc"); $var_security = array('g_login' => array('align' => array(2.99), 'id' => array(10022)), 'g_nologin' => array('align' => array(2.99), 'id' => array(10022))); -//$mysql = mysqli_connect('192.168.20.100', 'combats_full', 'JuUn1hWq4J'); -//mysqli_select_db('combats_game', $mysql); -//mysqli_query('SET NAMES utf8'); - require_once('Database/Mysql.php'); require_once('Database/Exception.php'); require_once('Database/Statement.php'); require_once('Database/db.php'); -//$db = \Krugozor\Database\Mysql\Mysql::create('192.168.20.100', 'combats_full', 'JuUn1hWq4J') -// ->setCharset('utf8') -// ->setDatabaseName('combats_game'); -//class db -//{ -// private static $_instance = null; -// -// private function __clone() {} -// private function __construct() {} -// /** -// * @return \Krugozor\Database\Mysql\Mysql -// */ -// -// public static function c() -// { -// if (!self::$_instance) -// { -// self::$_instance = \Krugozor\Database\Mysql\Mysql::create("192.168.20.100", "combats_full", "JuUn1hWq4J") -// // Выбор базы данных -// ->setDatabaseName("combats_game") -// // Выбор кодировки -// ->setCharset("utf8"); -// } -// return self::$_instance; -// } -//} ?>