$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
+$wgUploadBaseUrl = "";
/**#@-*/
* "mysql" for working code and "PostgreSQL" for development/broken code
*/
$wgDBtype = "mysql";
+/** Search type
+ * "MyISAM" for MySQL native full text search, "Tsearch2" for PostgreSQL
+ * based search engine
+ */
+$wgSearchType = "MyISAM";
/** Table name prefix */
$wgDBprefix = '';
/** Database schema
function wfImageUrl( $name )
{
- global $wgUploadPath;
+ global $wgUploadPath,$wgUploadBaseUrl;
$hash = md5( $name );
- $url = "{$wgUploadPath}/" . $hash{0} . "/" .
+ $url = "{$wgUploadBaseUrl}{$wgUploadPath}/" . $hash{0} . "/" .
substr( $hash, 0, 2 ) . "/{$name}";
return wfUrlencode( $url );
}