diff options
author | Piyush Mishra <me@piyushmishra.com> | 2011-08-20 19:11:52 +0530 |
---|---|---|
committer | Piyush Mishra <me@piyushmishra.com> | 2011-08-20 19:11:52 +0530 |
commit | b838050e5828b5cbf32b9e82ce11c9cc54592809 (patch) | |
tree | 8407ac84b8dcb098e8e9f36cea67c93cea101353 /inc/infoutils.php | |
parent | bedfa6abf0ea09be1ea44de0c014d83bd57a7412 (diff) | |
download | rpg-b838050e5828b5cbf32b9e82ce11c9cc54592809.tar.gz rpg-b838050e5828b5cbf32b9e82ce11c9cc54592809.tar.bz2 |
added new plugins config cascade and added plugin.info.txt
Diffstat (limited to 'inc/infoutils.php')
-rw-r--r-- | inc/infoutils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/infoutils.php b/inc/infoutils.php index 786661d01..f1deec66b 100644 --- a/inc/infoutils.php +++ b/inc/infoutils.php @@ -66,8 +66,8 @@ function getVersionData(){ $chunk = fread($fh,2000); fclose($fh); $chunk = trim($chunk); - $chunk = array_pop(explode("\n",$chunk)); //last log line - $chunk = array_shift(explode("\t",$chunk)); //strip commit msg + $chunk = @array_pop(explode("\n",$chunk)); //last log line + $chunk = @array_shift(explode("\t",$chunk)); //strip commit msg $chunk = explode(" ",$chunk); array_pop($chunk); //strip timezone $date = date('Y-m-d',array_pop($chunk)); |