- Timestamp:
- 2006/10/25 11:42:25 (20 years ago)
- Location:
- temp/trunk
- Files:
-
- 3 added
- 2 edited
-
data/downloads/module (added)
-
data/downloads/module/ebis_tag.php (added)
-
data/downloads/module/ebis_tag.tpl (added)
-
data/lib/slib.php (modified) (1 diff)
-
html/admin/system/module.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/lib/slib.php
r6602 r6626 2556 2556 } 2557 2557 2558 function sfGetFileVersion($path) { 2559 if(file_exists($path)) { 2560 $src_fp = fopen($path, "rb"); 2561 if($src_fp) { 2562 while (!feof($src_fp)) { 2563 $line = fgets($src_fp); 2564 if(ereg("@version", $line)) { 2565 $arrLine = split(" ", $line); 2566 $version = $arrLine[5]; 2567 } 2568 } 2569 fclose($src_fp); 2570 } 2571 return $version; 2572 } 2573 2558 2574 /* ¥Ç¥Ð¥Ã¥°ÍÑ ------------------------------------------------------------------------------------------------*/ 2559 2575 function sfPrintR($obj) { -
temp/trunk/html/admin/system/module.php
r6610 r6626 59 59 $path = MODULE_PATH . $objPage->arrUpdate[0]['main_php']; 60 60 61 if(file_exists($path)) { 62 $src_fp = fopen($path, "rb"); 63 if($src_fp) { 64 while (!feof($src_fp)) { 65 $line = fgets($src_fp); 66 if(ereg("@version", $line)) { 67 $arrLine = split(" ", $line); 68 sfPrintR($arrLine); 69 } 70 } 71 fclose($src_fp); 72 } 73 } 61 print(sfGetFileVersion($path)); 74 62 75 63 $objView->assignobj($objPage); //ÊÑ¿ô¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¥¢¥µ¥¤¥ó¤¹¤ë
Note: See TracChangeset
for help on using the changeset viewer.
