Changeset 12091


Ignore:
Timestamp:
2007/04/04 23:02:44 (17 years ago)
Author:
naka
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/downloads/module/security/security.php

    r12090 r12091  
    2323 
    2424$arrList[] = sfCheckOpenData(); 
     25$arrList[] = sfCheckInstall(); 
    2526 
    2627$objPage->arrList = $arrList; 
     
    4950} 
    5051 
     52// ¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¤«³Îǧ¤¹¤ë 
     53function sfCheckInstall() { 
     54    // ¥¤¥ó¥¹¥È¡¼¥ë¥Õ¥¡¥¤¥ë¤Î¸ºß¥Á¥§¥Ã¥¯ 
     55    $inst_path = HTML_PATH . "install/index.php"; 
     56     
     57    if(file_exists($inst_path)) { 
     58        $arrResult['result'] = "¡ß"; 
     59        $arrResult['detail'] = "/install/index.php¤Ï¡¢¥¤¥ó¥¹¥È¡¼¥ë´°Î»¸å¤Ë¥Õ¥¡¥¤¥ë¤òºï½ü¤·¤Æ¤¯¤À¤µ¤¤¡£";             
     60    } else { 
     61        $arrResult['result'] = "¡û"; 
     62        $arrResult['detail'] = "/install/index.php¤Ï¡¢¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£";     
     63    } 
     64} 
    5165?> 
Note: See TracChangeset for help on using the changeset viewer.