Quote:
function prefix($tablename='')
{
return $this->prefix .'_'. $tablename;
$this->prefix = $table_prefix;
@mysql_query("SET NAMES 'cp1251'", $this->_resource);
if ( $tablename != '' ) {
return $this->prefix .'_'. $tablename;
} else {
return $this->prefix;
}
}
}
}
and added the lines in php.ini, restarted the server and it is the same.