首页 > ESOTALK如何修改google字体库

ESOTALK如何修改google字体库

新项目要用esotalk作为论坛,但是由于加入了谷歌字体,加载速度很慢。
由于其框架是自己写的,所以我也找不到具体的位置在哪。
希望有大神帮助我找到在哪把谷歌调用改掉。


addons/skin/default/skin.php里面:

phpclass ETSkin_Default extends ETSkin {


/**
 * Initialize the skin.
 * 
 * @param ETController $sender The page controller.
 * @return void
 */
public function handler_init($sender)
{
    $sender->addCSSFile((C("esoTalk.https") ? "https" : "http")."://fonts.googleapis.com/css?family=Open+Sans:400,600");
    $sender->addCSSFile("core/skin/base.css", true);
    $sender->addCSSFile("core/skin/font-awesome.css", true);
    $sender->addCSSFile($this->resource("styles.css"), true);

你懂的

【热门文章】
【热门文章】