Changeset 18492


Ignore:
Timestamp:
2010/01/14 13:30:49 (12 years ago)
Author:
Yammy
Message:

http://svn.ec-cube.net/open_trac/ticket/348
/admin/order/index.php などにアクセスするとエラーだったため修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_4-dev/data/class/util/SC_Utils.php

    r18482 r18492  
    8787                list($real_root, $tmp) = explode('/html/', $script_filename); 
    8888                $real_root = $real_root . '/html/'; 
    89                 $url_dir = $_SERVER['REQUEST_URI']; 
     89                $script_name = $_SERVER['SCRIPT_NAME']; 
     90                $url_dir = rtrim($script_name, basename($script_name)); 
    9091 
    9192                if ($dh = opendir($real_root)) { 
Note: See TracChangeset for help on using the changeset viewer.