From: <ma...@us...> - 2002-06-26 16:34:06
|
Update of /cvsroot/nasm/www In directory usw-pr-cvs1:/tmp/cvs-serv32504 Modified Files: header.php Log Message: Index: header.php =================================================================== RCS file: /cvsroot/nasm/www/header.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- header.php 26 Jun 2002 12:05:51 -0000 1.4 +++ header.php 26 Jun 2002 16:34:03 -0000 1.5 @@ -27,7 +27,7 @@ $count = $db->query("select count(*) as num from users"); $tmpl->assign("users", $count["num"]); $version = file("nasm/version"); - $tmpl->assign("version", $version[0]); + $tmpl->assign("version", array_shift($version)); } function page_end( &$tmpl ) |