mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
making install dependent on config file for db name
This commit is contained in:
parent
c5d063a6eb
commit
c3da5bac66
2 changed files with 6 additions and 6 deletions
|
@ -32,8 +32,8 @@ userlist_info = "welcome to the userlist"
|
||||||
|
|
||||||
[login]
|
[login]
|
||||||
login_info = "Please login with your Username and Password."
|
login_info = "Please login with your Username and Password."
|
||||||
login_error_message = "The filled in username/password were not correct!"
|
login_error_message = "The username/password were not correct!"
|
||||||
login_register_message ="<strong>Register</strong> If you dont have an account yet, create one"
|
login_register_message ="<strong>Register</strong> If you don't have an account yet, create one"
|
||||||
login_register_message_here = "here"
|
login_register_message_here = "here"
|
||||||
|
|
||||||
[logout]
|
[logout]
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
//SETUP THE WWW DB
|
//SETUP THE WWW DB
|
||||||
$dbw = new DBLayer($cfg['db']['web']);
|
$dbw = new DBLayer($cfg['db']['web']);
|
||||||
$sql = "
|
$sql = "
|
||||||
CREATE DATABASE IF NOT EXISTS `ryzom_ams`;
|
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['web']['name'] ."`;
|
||||||
USE `ryzom_ams`;
|
USE `". $cfg['db']['web']['name'] . "`;
|
||||||
DROP TABLE IF EXISTS ams_user;
|
DROP TABLE IF EXISTS ams_user;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `ams_user` (
|
CREATE TABLE IF NOT EXISTS `ams_user` (
|
||||||
|
@ -35,8 +35,8 @@
|
||||||
//SETUP THE AMS_LIB DB
|
//SETUP THE AMS_LIB DB
|
||||||
$dbl = new DBLayer($cfg['db']['lib']);
|
$dbl = new DBLayer($cfg['db']['lib']);
|
||||||
$sql = "
|
$sql = "
|
||||||
CREATE DATABASE IF NOT EXISTS `ryzom_ams_lib`;
|
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['lib']['name'] ."`;
|
||||||
USE `ryzom_ams_lib`;
|
USE `" . $cfg['db']['lib']['name'] ."`;
|
||||||
DROP TABLE IF EXISTS ams_querycache;
|
DROP TABLE IF EXISTS ams_querycache;
|
||||||
|
|
||||||
CREATE TABLE ams_querycache (
|
CREATE TABLE ams_querycache (
|
||||||
|
|
Loading…
Reference in a new issue