From a89e95cb6af254692182ec81dee84cd829db4c4b Mon Sep 17 00:00:00 2001 From: Konrad Rosenbaum Date: Sun, 18 Aug 2013 21:39:57 +0200 Subject: [PATCH] use same DB as main user for a while --- www/config.php.template | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/www/config.php.template b/www/config.php.template index 2a88141..73a1228 100644 --- a/www/config.php.template +++ b/www/config.php.template @@ -10,11 +10,11 @@ //// //MySQL -/* + //create engine: server-host, user, password $db = new MysqlEngine("localhost","smoke",""); //set database name -$db->setDbName("smoke"); +$db->setDbName("smoke2"); //set table-prefix (must be non-empty, leave the default if in doubt) $db->setPrefix("smoke2_"); //set this to one of the supported MySQL storage engines for DB creation @@ -24,11 +24,11 @@ $db->setStorageEngine("InnoDB"); //set default character set // only change if your database does not support Unicode $db->setCharacterSet("utf8"); -*/ + //// //PostgreSQL - +/* //create engine: connection string, the sub-parameters are: // dbname - name of the database // user - DB user that is used to log in to the DB server @@ -43,7 +43,7 @@ $db = new PGsqlEngine("dbname='smoke' user='smoke'"); $db->setPrefix("smoke2_"); //set this only if you want debug messages on error (developers only): //$db->setDebugMode(); - +*/ //////////// // DB Administration @@ -53,13 +53,13 @@ $db->setPrefix("smoke2_"); $db->setAdminPassCode("Admin","SmokeInMyEye"); //use this if you want to upgrade data from an old (MagicSmoke 1.x) DB instance -// /* + $olddb = new MysqlEngine("localhost","smoke",""); $olddb->setDbName("smoke"); $olddb->setPrefix("smoke_"); $olddb->setStorageEngine("InnoDB"); $olddb->setCharacterSet("utf8"); -// */ + @@ -157,4 +157,4 @@ $CustomerResetTime=24 * 60 * 60; //done return; -?> \ No newline at end of file +?> -- 1.7.2.5