Diff for phpMyEdit/phpMyEditSetup.php between version 1.47 and 1.48
version 1.47, 2006/09/09 07:34:44 |
version 1.48, 2006/09/09 07:38:54 |
|
|
* http://platon.sk/projects/phpMyEdit/ |
* http://platon.sk/projects/phpMyEdit/ |
*/ |
*/ |
|
|
/* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.46 2006-09-08 17:09:02 michal Exp $ */ |
/* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.47 2006-09-09 07:34:44 nepto Exp $ */ |
|
|
?> |
?> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
Line 151 function get_versions() |
|
Line 151 function get_versions() |
|
$str = trim(fread($f, 4096)); |
$str = trim(fread($f, 4096)); |
if (strpos($str, ' ') === false && strlen($str) < 10) { |
if (strpos($str, ' ') === false && strlen($str) < 10) { |
$ret_ar[$type] = $str; |
$ret_ar[$type] = $str; |
} else if (preg_match('|\$Platon:\s+\S+,v\s+(\S+\.\S+)\s+|', $str, $matches)) { |
} else if (preg_match('|\$'.'Platon:\s+\S+,v\s+(\d+.\d+)\s+|', $str, $matches)) { |
$ret_ar[$type] = $matches[1]; |
$ret_ar[$type] = $matches[1]; |
} |
} |
fclose($f); |
fclose($f); |
Platon Group <platon@platon.org> http://platon.org/
|
|