Ignore:
Timestamp:
2011/07/01 20:28:16 (10 years ago)
Author:
yomoro
Message:

#1385 filenameの判定を修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/class/pages/admin/design/LC_Page_Admin_Design_MainEdit.php

    r20970 r21002  
    317317        // 同一URLの存在チェック 
    318318        $where = 'page_id <> 0 AND device_type_id = ? AND filename = ?'; 
    319         $arrValues = array($arrParams['device_type_id'], 
    320                            SC_Helper_PageLayout_Ex::getUserDir($arrParams['device_type_id']) . $arrParams['filename'] . '.php'); 
     319        $arrValues = array($arrParams['device_type_id'], USER_DIR . $arrParams['filename']); 
    321320        // 変更の場合は自 URL を除外 
    322321        if (!SC_Utils_Ex::isBlank($arrParams['page_id'])) { 
Note: See TracChangeset for help on using the changeset viewer.