Ignore:
Timestamp:
2011/03/07 15:23:39 (13 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)
#628(未使用処理・定義などの削除)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/LC_Page_ResizeImage.php

    r20534 r20538  
    6262            // ファイル名が正しく、ファイルが存在する場合だけ、$fileを設定 
    6363            if (!$this->lfCheckFileName()) { 
    64                 GC_Utils_Ex::gfPrintLog('invalid access :resize_image.php $_GET["image"]=' . $_GET['image']); 
     64                GC_Utils_Ex::gfPrintLog('invalid access :resize_image.php $_GET[\'image\']=' . $_GET['image']); 
    6565            } 
    6666            else if (file_exists(IMAGE_SAVE_REALDIR . $_GET['image'])) { 
     
    6969        } 
    7070 
    71         $objThumb->Main($file, $_GET["width"], $_GET["height"], "", true); 
     71        $objThumb->Main($file, $_GET['width'], $_GET['height'], "", true); 
    7272    } 
    7373 
     
    8989        //$pattern = '|^[0-9]+_[0-9a-z]+\.[a-z]{3}$|'; 
    9090        $pattern = '|\./|'; 
    91         $file    = trim($_GET["image"]); 
     91        $file    = trim($_GET['image']); 
    9292        if ( preg_match_all($pattern, $file, $matches) ) { 
    9393            return false; 
Note: See TracChangeset for help on using the changeset viewer.