Browse Source

show php version

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@934 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
64b072fd5a
  1. 1
      admin/edit.php
  2. 2
      admin/footer.tpl.php
  3. 1
      admin/xcache.php

1
admin/edit.php

@ -36,6 +36,7 @@ else {
}
}
$php_version = phpversion();
$xcache_version = XCACHE_VERSION;
$xcache_modules = XCACHE_MODULES;

2
admin/footer.tpl.php

@ -1,6 +1,6 @@
<div class="footnote">
<?php echo <<<EOS
Powered By: XCache {$xcache_version}, {$xcache_modules}
PHP {$php_version} Powered By: XCache {$xcache_version}, {$xcache_modules}
EOS;
?>
</div>

1
admin/xcache.php

@ -367,6 +367,7 @@ default:
$type_php = XC_TYPE_PHP;
$type_var = XC_TYPE_VAR;
$types = array($type_none => _T('Statistics'), $type_php => _T('List PHP'), $type_var => _T('List Var Data'));
$php_version = phpversion();
$xcache_version = XCACHE_VERSION;
$xcache_modules = XCACHE_MODULES;

Loading…
Cancel
Save