Ignore:
Timestamp:
2012/02/17 00:50:05 (14 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

  • Zend Framework PHP 標準コーディング規約への準拠を高めた。(主に「Switch」の項)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/html/upgrade/index.php

    r21514 r21526  
    4949 
    5050    switch ($mode) { 
    51     case 'products_list': 
    52         $file  .= 'ProductsList.php'; 
    53         $class .= 'ProductsList'; 
    54         break; 
    55     case 'patch_download': 
    56     case 'download': 
    57     case 'auto_update': 
    58         $file  .= 'Download.php'; 
    59         $class .= 'Download'; 
    60         break; 
    61     case 'site_check': 
    62         $file  .= 'SiteCheck.php'; 
    63         $class .= 'SiteCheck'; 
    64         break; 
    65     default: 
    66         header('HTTP/1.1 400 Bad Request'); 
    67         GC_Util::gfPrintLog('modeの値が正しくありません。:'.$mode); 
    68         exit(); 
    69         break; 
     51        case 'products_list': 
     52            $file  .= 'ProductsList.php'; 
     53            $class .= 'ProductsList'; 
     54            break; 
     55        case 'patch_download': 
     56        case 'download': 
     57        case 'auto_update': 
     58            $file  .= 'Download.php'; 
     59            $class .= 'Download'; 
     60            break; 
     61        case 'site_check': 
     62            $file  .= 'SiteCheck.php'; 
     63            $class .= 'SiteCheck'; 
     64            break; 
     65        default: 
     66            header('HTTP/1.1 400 Bad Request'); 
     67            GC_Util::gfPrintLog('modeの値が正しくありません。:'.$mode); 
     68            exit(); 
     69            break; 
    7070    } 
    7171 
Note: See TracChangeset for help on using the changeset viewer.