Ignore:
Timestamp:
2006/10/18 15:18:38 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/system/module.php

    r6452 r6458  
    5959// ³ÈÄ¥¥Õ¥¡¥¤¥ë¤Î¥Ð¡¼¥¸¥ç¥ó³Îǧ 
    6060$path = HTML_PATH . "admin/downloads/module/" . $objPage->arrUpdate[0]['main_php']; 
    61  
    62 $src_fp = fopen($path, "rb"); 
    63 while (!feof($src_fp)) { 
    64     $line = fgets($src_fp); 
    65     if(ereg("@version", $line)) { 
    66         $arrLine = split(" ", $line); 
    67         sfPrintR($arrLine); 
    68     } 
    69 } 
    70 fclose($src_fp); 
     61if(file_exists($path)) { 
     62    $src_fp = fopen($path, "rb"); 
     63    while (!feof($src_fp)) { 
     64        $line = fgets($src_fp); 
     65        if(ereg("@version", $line)) { 
     66            $arrLine = split(" ", $line); 
     67            sfPrintR($arrLine); 
     68        } 
     69    } 
     70    fclose($src_fp); 
     71} 
    7172 
    7273$objView->assignobj($objPage);      //ÊÑ¿ô¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¥¢¥µ¥¤¥ó¤¹¤ë 
Note: See TracChangeset for help on using the changeset viewer.