Changeset 6458 for temp/trunk/html/admin/system
- Timestamp:
- 2006/10/18 15:18:38 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/admin/system/module.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/admin/system/module.php
r6452 r6458 59 59 // ³ÈÄ¥¥Õ¥¡¥¤¥ë¤Î¥Ð¡¼¥¸¥ç¥ó³Îǧ 60 60 $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); 61 if(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 } 71 72 72 73 $objView->assignobj($objPage); //ÊÑ¿ô¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¥¢¥µ¥¤¥ó¤¹¤ë
Note: See TracChangeset
for help on using the changeset viewer.
