From 11c7f5c57383ac5b415995fe3df9198915aa3419 Mon Sep 17 00:00:00 2001 From: redray <redray@ispconfig3> Date: Mon, 15 Dec 2008 07:09:24 -0500 Subject: [PATCH] added the possibility to define more prefixes (implemented only for db-modul). Because a database my only be 32 chars in utf-8 it's better for my purposes to use CLIENTID instead of CLIENTNAME --- interface/lib/classes/db_mysql.inc.php | 14 +++----------- 1 files changed, 3 insertions(+), 11 deletions(-) diff --git a/interface/lib/classes/db_mysql.inc.php b/interface/lib/classes/db_mysql.inc.php index 6caf0c9..ed35b41 100644 --- a/interface/lib/classes/db_mysql.inc.php +++ b/interface/lib/classes/db_mysql.inc.php @@ -1,14 +1,7 @@ <?php -/** - * mySQL Database class - * - * @author Till Brehm - * @copyright 2005, Till Brehm, projektfarm Gmbh - * @version 0.2 - * @package ISPConfig - */ + /* -Copyright (c) 2005, Till Brehm, projektfarm Gmbh +Copyright (c) 2007, Till Brehm, projektfarm Gmbh All rights reserved. Redistribution and use in source and binary forms, with or without modification, @@ -35,8 +28,7 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -class db -{ +class db { private $dbHost = ''; // hostname of the MySQL server private $dbName = ''; // logical database name on that server private $dbUser = ''; // database authorized user -- Gitblit v1.9.1