Prechádzať zdrojové kódy

[svn r13940] I forgot to submit the font file for the user's template

Julian Prud'homme 17 rokov pred
rodič
commit
f822b97b3a

BIN
main/inc/lib/fckeditor/FreeSans.ttf


+ 1 - 1
main/inc/lib/fckeditor/fcktemplates.xml.php

@@ -41,7 +41,7 @@ $css = loadCSS(api_get_setting('stylesheets'));
 		
 		$im = @ImageCreate($width, $height);
 		$bg_color = ImageColorAllocate($im, 255, 255, 255);
-		$ttfont   = "/usr/share/fonts/truetype/freefont/FreeSans.ttf";
+		$ttfont   = api_get_path(LIBRARY_PATH).'fckeditor/FreeSans.ttf';
 		$text_color = ImageColorAllocate($im, 0, 0, 0);
 		
 		$a_text=explode(' ',$a_template['title']);