Browse Source

fixed undefined index for xcache.count=1 and xcache.var_size>1

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.3@706 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.3
Xuefer 11 years ago
parent
commit
6b78ab80a3
  1. 1
      ChangeLog
  2. 2
      admin/xcache.php

1
ChangeLog

@ -2,6 +2,7 @@
========
* fix win32 build against win32 native gnu tools
* compatibility fix: fix segv on shutdown when ionCube Loader is loaded
* fixed undefined index for xcache.count=1 and xcache.var_size>1
1.3.1 2010-11-27
========

2
admin/xcache.php

@ -287,7 +287,7 @@ for ($i = 0; $i < $vcnt; $i ++) {
$data['cache_name'] = "var#$i";
$data['cacheid'] = $i;
$cacheinfos[] = $data;
if ($pcnt >= 2) {
if ($vcnt >= 2) {
calc_total($total, $data);
}
}

Loading…
Cancel
Save