Also need to substr the long usernames in the installer, doh!

This commit is contained in:
james 2011-01-20 19:32:00 +00:00
parent 95d57c25bf
commit 2813377014
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ if(!file_exists("data/config.inc.php"))
}
require_once("data/config.inc.php");
$DBUSER=substr($DBUSER,0,16);
mysql_connect($DBHOST,$DBUSER,$DBPASS);
mysql_select_db($DBNAME);

View File

@ -42,6 +42,7 @@ require_once("data/config.inc.php");
require_once("config_editor.inc.php");
require_once("user.inc.php");
require_once("committee.inc.php");
$DBUSER=substr($DBUSER,0,16);
mysql_connect($DBHOST,$DBUSER,$DBPASS);
mysql_select_db($DBNAME);