Revision 1682
Added by darkviper over 12 years ago
initialize.php | ||
---|---|---|
90 | 90 |
spl_autoload_register('CoreAutoloader'); // activate core autoloader |
91 | 91 |
date_default_timezone_set('UTC'); |
92 | 92 |
// Create database class |
93 |
$database = new Database(); |
|
93 |
$sSqlUrl = DB_TYPE.'://'.DB_USERNAME.':'.DB_PASSWORD.'@'.DB_HOST.'/'.DB_NAME; |
|
94 |
$database = new Database($sSqlUrl); |
|
94 | 95 |
// disable all kind of magic_quotes |
95 | 96 |
if(get_magic_quotes_gpc() || get_magic_quotes_runtime()) { |
96 | 97 |
@ini_set('magic_quotes_sybase', 0); |
Also available in: Unified diff
some little corrections ModLanguage/Database/initialize.php