if ($dsn['database']) {
$this->_db = $dsn['database'];
}
-
+ // appears that these are not needed
+ //@mysqli_set_charset($this->connection, "utf8");
+ //@mysqli_query($this->connection, 'SET NAMES utf8mb4 COLLATE utf8mb4_unicode_ci');
return DB_OK;
}
if(ini_get('mbstring.func_overload') & 2)
$this->Error('mbstring overloading must be disabled');
//Disable runtime magic quotes
- if(get_magic_quotes_runtime()) {
- set_magic_quotes_runtime(0);
- }
+
}
function _getpageformat($format)
if (!$color || ($color == 'none')) {
return false;
}
+ var_dump($color);
return array(
hexdec(substr($color,1,2)),
hexdec(substr($color,3,2)),