libsetup.php edited online with Bitbucket
This commit is contained in:
parent
fae178b059
commit
61c7cdebcb
1 changed files with 4 additions and 4 deletions
|
@ -70,7 +70,7 @@
|
||||||
//SETUP THE WWW DB
|
//SETUP THE WWW DB
|
||||||
$dbw = new DBLayer("install", "web");
|
$dbw = new DBLayer("install", "web");
|
||||||
$sql = "
|
$sql = "
|
||||||
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['web']['name'] ."` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['web']['name'] ."` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
||||||
USE `". $cfg['db']['web']['name'] . "`;
|
USE `". $cfg['db']['web']['name'] . "`;
|
||||||
DROP TABLE IF EXISTS ams_user;
|
DROP TABLE IF EXISTS ams_user;
|
||||||
|
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
$dbl = new DBLayer("install", "lib");
|
$dbl = new DBLayer("install", "lib");
|
||||||
|
|
||||||
$sql = "
|
$sql = "
|
||||||
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['lib']['name'] ."` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['lib']['name'] ."` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
||||||
USE `" . $cfg['db']['lib']['name'] ."`;
|
USE `" . $cfg['db']['lib']['name'] ."`;
|
||||||
DROP TABLE IF EXISTS `" . $cfg['db']['lib']['name'] ."`.`ams_querycache`;
|
DROP TABLE IF EXISTS `" . $cfg['db']['lib']['name'] ."`.`ams_querycache`;
|
||||||
|
|
||||||
|
@ -620,7 +620,7 @@
|
||||||
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['tool']['name'] ."`;
|
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['tool']['name'] ."`;
|
||||||
USE `". $cfg['db']['tool']['name'] . "`;
|
USE `". $cfg['db']['tool']['name'] . "`;
|
||||||
|
|
||||||
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['tool']['name'] ."` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['tool']['name'] ."` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
||||||
USE `" . $cfg['db']['tool']['name'] ."`;
|
USE `" . $cfg['db']['tool']['name'] ."`;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `neltool_annotations` (
|
CREATE TABLE IF NOT EXISTS `neltool_annotations` (
|
||||||
|
@ -1400,7 +1400,7 @@
|
||||||
//SETUP THE OPEN_SHARD DB
|
//SETUP THE OPEN_SHARD DB
|
||||||
$dbw = new DBLayer("install", "ring");
|
$dbw = new DBLayer("install", "ring");
|
||||||
$sql = "
|
$sql = "
|
||||||
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['ring']['name'] ."` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['ring']['name'] ."` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
|
||||||
USE `" . $cfg['db']['ring']['name'] ."`;
|
USE `" . $cfg['db']['ring']['name'] ."`;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `characters` (
|
CREATE TABLE IF NOT EXISTS `characters` (
|
||||||
|
|
Loading…
Reference in a new issue