Changeset 15789


Ignore:
Timestamp:
2007/09/20 19:26:23 (17 years ago)
Author:
nanasess
Message:

CLASS_PATH を取得できるよう修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/html/resize_image.php

    r15672 r15789  
    11<?php 
    2  
     2// FIXME クラスにする 
    33$include_dir = realpath(dirname( __FILE__)); 
    44require_once($include_dir . "/define.php"); 
    5  
     5if (!defined("CLASS_PATH")) { 
     6    /** クラスパス */ 
     7    define("CLASS_PATH", $include_dir . HTML2DATA_DIR . "class/"); 
     8} 
     9require_once($include_dir . HTML2DATA_DIR. "conf/conf.php"); 
    610require_once($include_dir . HTML2DATA_DIR. "module/gdthumb.php"); 
    711require_once($include_dir . HTML2DATA_DIR. "class/util_extends/GC_Utils_Ex.php"); 
    8 require_once($include_dir . HTML2DATA_DIR. "conf/conf.php"); 
     12 
    913 
    1014$objThumb = new gdthumb(); 
     
    1620 
    1721    // ファイル名が正しい場合だけ、$fileを設定 
    18     if ( $this->lfCheckFileName() === true ) { 
     22    if ( lfCheckFileName() === true ) { 
    1923        $file = IMAGE_SAVE_DIR . $_GET['image']; 
    2024    } else { 
Note: See TracChangeset for help on using the changeset viewer.