Changeset 20011


Ignore:
Timestamp:
2011/01/20 13:15:44 (10 years ago)
Author:
Seasoft
Message:

#834(パスに関わるパラメータ名が不適切)

Location:
branches/version-2_5-dev/data/class
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/graph/SC_GraphBase.php

    r19805 r20011  
    2323 
    2424/** TTFフォントファイル */ 
    25 define("FONT_PATH", DATA_REALDIR . "fonts/wlmaru20044.ttf"); 
     25define("FONT_REALFILE", DATA_REALDIR . "fonts/wlmaru20044.ttf"); 
    2626 
    2727/** フォントサイズ */ 
     
    262262            ※正確な値が取得できなかったので廃止 
    263263            // テキスト幅の取得 
    264             $arrPos = imagettfbbox($font_size, 0, FONT_PATH, $text); 
     264            $arrPos = imagettfbbox($font_size, 0, FONT_REALFILE, $text); 
    265265            $ret = $arrPos[2] - $arrPos[0]; 
    266266        */ 
     
    294294        //$text = mb_convert_encoding($text, CHAR_CODE); 
    295295        if($color != NULL) { 
    296             ImageTTFText($this->image, $font_size, $angle, $left, $top + $font_size, $color, FONT_PATH, $text); 
     296            ImageTTFText($this->image, $font_size, $angle, $left, $top + $font_size, $color, FONT_REALFILE, $text); 
    297297        } else { 
    298             ImageTTFText($this->image, $font_size, $angle, $left, $top + $font_size, $this->text_color, FONT_PATH, $text); 
     298            ImageTTFText($this->image, $font_size, $angle, $left, $top + $font_size, $this->text_color, FONT_REALFILE, $text); 
    299299        } 
    300300    } 
     
    316316        } 
    317317        // テキスト描画 
    318         ImageTTFText($this->image, FONT_SIZE, 0, LINE_PAD, $this->text_top, $this->text_color, FONT_PATH, $text); 
     318        ImageTTFText($this->image, FONT_SIZE, 0, LINE_PAD, $this->text_top, $this->text_color, FONT_REALFILE, $text); 
    319319        $this->text_top += FONT_SIZE + LINE_PAD; 
    320320    } 
  • branches/version-2_5-dev/data/class/pages/admin/design/LC_Page_Admin_Design_Up_Down.php

    r19966 r20011  
    234234    } 
    235235    /** 
    236      * DBおよびTPL_PKG_PATHにテンプレートパッケージを追加する. 
     236     * DBおよびファイルシステムにテンプレートパッケージを追加する. 
    237237     * 
    238238     * @param object $objForm SC_FormParamのインスタンス 
Note: See TracChangeset for help on using the changeset viewer.