Revision 1889
Added by Dietmar over 11 years ago
initialize.php | ||
---|---|---|
142 | 142 |
$db['port'] = isset($db['port']) ? $db['port'] : '3306'; |
143 | 143 |
$db['port'] = ($db['port'] != '3306') ? $db['port'] : ''; |
144 | 144 |
$db['name'] = isset($db['name']) ? $db['name'] : 'dummy'; |
145 |
$db['charset'] = isset($db['charset']) ? $db['charset'] : 'utf8';
|
|
145 |
$db['charset'] = isset($db['charset']) ? trim($db['charset']) : '';
|
|
146 | 146 |
$db['table_prefix'] = (isset($db['table_prefix']) ? $db['table_prefix'] : ''); |
147 | 147 |
if(!defined('TABLE_PREFIX')) { define('TABLE_PREFIX', $db['table_prefix']); } |
148 | 148 |
if($sRetvalType == 'dsn') { |
Also available in: Unified diff
! update sections table change some varchar to int(11)
+ upgradeHelper class for better module upgrade