Ignore:
Timestamp:
2007/03/31 21:59:45 (20 years ago)
Author:
nanasess
Message:

header("Location: 〜") で相対パスが使用されていたのを絶対パスに変更.
data/lib/slib.php に sfGetCurrentUri(boolean) と sfGetCurrentSchema() を追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu/html/admin/design/bloc.php

    r11730 r12039  
    102102             
    103103        $bloc_id = $arrBlocData[0]['bloc_id'];   
    104         header("location: ./bloc.php?bloc_id=$bloc_id&msg=on"); 
     104        header("location: " . sfGetCurrentUri() . "/bloc.php?bloc_id=$bloc_id&msg=on"); 
    105105    }else{ 
    106106        // ¥¨¥é¡¼¤¬¤¢¤ì¤ÐÆþÎÏ»þ¤Î¥Ç¡¼¥¿¤òɽ¼¨¤¹¤ë 
    … …  
    140140    } 
    141141 
    142     header("location: ./bloc.php"); 
     142    header("location: " . sfGetCurrentUri() . "/bloc.php"); 
    143143} 
    144144 
Note: See TracChangeset for help on using the changeset viewer.