Ignore:
Timestamp:
2012/02/15 19:56:17 (12 years ago)
Author:
Seasoft
Message:

#1625 (typo修正・ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/SC_Initial.php

    r21481 r21514  
    8888            /** サイト用DB */ 
    8989            define ('DEFAULT_DSN', 
    90                     DB_TYPE . "://" . DB_USER . ":" . DB_PASSWORD . "@" 
    91                     . DB_SERVER . ":" .DB_PORT . "/" . DB_NAME); 
     90                    DB_TYPE . '://' . DB_USER . ':' . DB_PASSWORD . "@" 
     91                    . DB_SERVER . ':' .DB_PORT . '/' . DB_NAME); 
    9292        } 
    9393    } 
     
    184184 
    185185        // 定数を設定 
    186         if (is_file(CACHE_REALDIR . "mtb_constants.php")) { 
     186        if (is_file(CACHE_REALDIR . 'mtb_constants.php')) { 
    187187            require_once CACHE_REALDIR . 'mtb_constants.php'; 
    188188 
    189189            // キャッシュが無ければ, 初期データからコピー 
    190         } elseif (is_file(CACHE_REALDIR . "../mtb_constants_init.php")) { 
    191  
    192             $mtb_constants = file_get_contents(CACHE_REALDIR . "../mtb_constants_init.php"); 
     190        } elseif (is_file(CACHE_REALDIR . '../mtb_constants_init.php')) { 
     191 
     192            $mtb_constants = file_get_contents(CACHE_REALDIR . '../mtb_constants_init.php'); 
    193193            if (is_writable(CACHE_REALDIR)) { 
    194                 $handle = fopen(CACHE_REALDIR . "mtb_constants.php", 'w'); 
     194                $handle = fopen(CACHE_REALDIR . 'mtb_constants.php', 'w'); 
    195195                if (!$handle) { 
    196196                    die($errorMessage); 
     
    206206            } 
    207207        } else { 
    208             die(CACHE_REALDIR . "../mtb_constants_init.php が存在しません"); 
     208            die(CACHE_REALDIR . '../mtb_constants_init.php が存在しません'); 
    209209        } 
    210210    } 
Note: See TracChangeset for help on using the changeset viewer.