Ignore:
Timestamp:
2010/12/31 10:46:42 (13 years ago)
Author:
Seasoft
Message:

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある) 一部改修

File:
1 edited

Legend:

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

    r18820 r19802  
    2424// {{{ requires 
    2525require_once CLASS_PATH . 'pages/upgrade/LC_Page_Upgrade_Base.php'; 
    26 require_once DATA_PATH . 'module/Tar.php'; 
     26require_once DATA_FILE_PATH . 'module/Tar.php'; 
    2727 
    2828/** 
     
    112112        case 'patch_download': 
    113113            $arrPostData = array( 
    114                 'eccube_url' => SITE_URL, 
     114                'eccube_url' => HTTP_URL, 
    115115                'public_key' => sha1($public_key . $sha1_key), 
    116116                'sha1_key'   => $sha1_key, 
     
    120120        default: 
    121121            $arrPostData = array( 
    122                 'eccube_url' => SITE_URL, 
     122                'eccube_url' => HTTP_URL, 
    123123                'public_key' => sha1($public_key . $sha1_key), 
    124124                'sha1_key'   => $sha1_key, 
     
    164164            $objLog->log('* save file start'); 
    165165            $time = time(); 
    166             $dir  = DATA_PATH . 'downloads/tmp/'; 
     166            $dir  = DATA_FILE_PATH . 'downloads/tmp/'; 
    167167            $filename = $time . '.tar.gz'; 
    168168 
     
    298298    function notifyDownload($mode, $arrCookies) { 
    299299        $arrPOSTParams = array( 
    300             'eccube_url' => SITE_URL 
     300            'eccube_url' => HTTP_URL 
    301301        ); 
    302302        $objReq = $this->request($mode . '_commit', $arrPOSTParams, $arrCookies); 
     
    382382     */ 
    383383    function fileExecute($productCode) { 
    384         $file = DATA_PATH . 'downloads/update/' . $productCode . '_update.php'; 
     384        $file = DATA_FILE_PATH . 'downloads/update/' . $productCode . '_update.php'; 
    385385        if (file_exists($file)) { 
    386386            @include_once $file; 
Note: See TracChangeset for help on using the changeset viewer.