Config Cleanup
This commit is contained in:
parent
a3a7ffeb8a
commit
3113d89ef1
4
.idea/battles-game.iml
generated
4
.idea/battles-game.iml
generated
@ -1,7 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module type="WEB_MODULE" version="4">
|
<module type="WEB_MODULE" version="4">
|
||||||
<component name="NewModuleRootManager">
|
<component name="NewModuleRootManager">
|
||||||
<content url="file://$MODULE_DIR$" />
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.idea" />
|
||||||
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
|
1251
.idea/workspace.xml
generated
1251
.idea/workspace.xml
generated
File diff suppressed because it is too large
Load Diff
30
config.php
30
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)));
|
$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/Mysql.php');
|
||||||
require_once('Database/Exception.php');
|
require_once('Database/Exception.php');
|
||||||
require_once('Database/Statement.php');
|
require_once('Database/Statement.php');
|
||||||
require_once('Database/db.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;
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user