Changeset 20425


Ignore:
Timestamp:
2011/02/26 23:37:06 (10 years ago)
Author:
Seasoft
Message:

#838(PHPソース内でのパラメータ「USER_DIR」の利用不徹底)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/html/user_data/packages/admin/js/ownersstore.js.php

    r20116 r20425  
    11<?php 
    22require_once '../../../../require.php'; 
    3 ob_start(); 
     3header('Content-Type: application/x-javascript'); 
    44?> 
    55/* 
     
    2020(function() { 
    2121// オーナーズストア通信スクリプトのパス 
    22 var upgrade_url = '[%ROOT_URLPATH%]upgrade/<?php echo DIR_INDEX_PATH; ?>'; 
     22var upgrade_url = '<?php echo ROOT_URLPATH ?>upgrade/<?php echo DIR_INDEX_PATH; ?>'; 
    2323 
    2424// ロード中メッセージ(配信サーバと通信中です…) 
     
    2727// ロード中画像の先読み 
    2828var loading_img = new Image(); 
    29 loading_img.src = '[%ROOT_URLPATH%]user_data/packages/default/img/ajax/loading.gif'; 
     29loading_img.src = '<?php echo ROOT_URLPATH . USER_DIR ?>packages/default/img/ajax/loading.gif'; 
    3030 
    3131var OwnersStore = function() {} 
     
    175175window.OwnersStore = new OwnersStore(); 
    176176})(); 
    177 <?php 
    178 header('Content-Type: application/x-javascript'); 
    179 echo str_replace('[%ROOT_URLPATH%]', ROOT_URLPATH, ob_get_clean()); 
    180 ?> 
Note: See TracChangeset for help on using the changeset viewer.