Changeset 17042
- Timestamp:
- 2008/02/13 17:18:18 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2/data/class/pages/LC_Page.php
r16754 r17042 213 213 // $path が / で始まっている場合 214 214 if (substr($path, 0, 1) == "/") { 215 $realPath = realpath(substr_replace(HTML_PATH, "", 216 strlen(HTML_PATH) - strlen(URL_DIR), 217 strlen(URL_DIR)) . $path); 215 $realPath = realpath(HTML_PATH . substr_replace($path, "", 0, strlen(URL_DIR))); 216 // 相対パスの場合 218 217 } else { 219 // 相対パスの場合220 218 $realPath = realpath($path); 221 219 }
Note: See TracChangeset
for help on using the changeset viewer.