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_info = "Please login with your Username and Password."
|
||||
login_error_message = "The filled in username/password were not correct!"
|
||||
login_register_message ="<strong>Register</strong> If you dont have an account yet, create one"
|
||||
login_error_message = "The username/password were not correct!"
|
||||
login_register_message ="<strong>Register</strong> If you don't have an account yet, create one"
|
||||
login_register_message_here = "here"
|
||||
|
||||
[logout]
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
//SETUP THE WWW DB
|
||||
$dbw = new DBLayer($cfg['db']['web']);
|
||||
$sql = "
|
||||
CREATE DATABASE IF NOT EXISTS `ryzom_ams`;
|
||||
USE `ryzom_ams`;
|
||||
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['web']['name'] ."`;
|
||||
USE `". $cfg['db']['web']['name'] . "`;
|
||||
DROP TABLE IF EXISTS ams_user;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `ams_user` (
|
||||
|
@ -35,8 +35,8 @@
|
|||
//SETUP THE AMS_LIB DB
|
||||
$dbl = new DBLayer($cfg['db']['lib']);
|
||||
$sql = "
|
||||
CREATE DATABASE IF NOT EXISTS `ryzom_ams_lib`;
|
||||
USE `ryzom_ams_lib`;
|
||||
CREATE DATABASE IF NOT EXISTS `" . $cfg['db']['lib']['name'] ."`;
|
||||
USE `" . $cfg['db']['lib']['name'] ."`;
|
||||
DROP TABLE IF EXISTS ams_querycache;
|
||||
|
||||
CREATE TABLE ams_querycache (
|
||||
|
|
Loading…
Reference in a new issue