Changeset 21659 for branches/version-2_12-dev/data/class/util/SC_Utils.php
- Timestamp:
- 2012/03/20 00:37:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/util/SC_Utils.php
r21646 r21659 258 258 $date = ''; 259 259 } 260 return 260 return $date; 261 261 } 262 262 … … 869 869 exit; 870 870 } 871 return 871 return $outpath; 872 872 } 873 873 … … 992 992 // PHPのmb_convert_encoding関数をSmartyでも使えるようにする 993 993 function sfMbConvertEncoding($str, $encode = 'CHAR_CODE') { 994 return 994 return mb_convert_encoding($str, $encode); 995 995 } 996 996 … … 1929 1929 function isAbsoluteRealPath($realpath) { 1930 1930 if (strpos(PHP_OS, 'WIN') === false) { 1931 return (substr($realpath, 0, 1) == '/');1931 return substr($realpath, 0, 1) == '/'; 1932 1932 } else { 1933 1933 return preg_match('/^[a-zA-Z]:(\\\|\/)/', $realpath) ? true : false;
Note: See TracChangeset
for help on using the changeset viewer.