FCKeditor ~ set language in php

設定FCK Editor的語言~~~在PHP語言中= ="


$oFCKeditor = new FCKeditor('description') ;
$oFCKeditor->BasePath = '../app/' ;
$oFCKeditor->Height = '400';
$oFCKeditor->Value = '' ;
$oFCKeditor->Config['AutoDetectLanguage'] = false ;
$oFCKeditor->Config['DefaultLanguage'] = 'zh' ;
$oFCKeditor->Create() ;

藍色的部分就是設定語言的地方~~~

不過光設定語言沒有用~~~要把AutoDetetLanguage設為false才行

沒有留言: