Changeset 6626 for temp/trunk/html/admin


Ignore:
Timestamp:
2006/10/25 11:42:25 (20 years ago)
Author:
naka
Message:

* empty log message *

File:
1 edited

Legend:

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

    r6610 r6626  
    5959$path = MODULE_PATH . $objPage->arrUpdate[0]['main_php']; 
    6060 
    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 } 
     61print(sfGetFileVersion($path)); 
    7462 
    7563$objView->assignobj($objPage);      //ÊÑ¿ô¤ò¥Æ¥ó¥×¥ì¡¼¥È¤Ë¥¢¥µ¥¤¥ó¤¹¤ë 
Note: See TracChangeset for help on using the changeset viewer.