Skip to content

Commit 9894474

Browse files
Fixed compatibility, no composer install note
1 parent bd7f30a commit 9894474

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

README.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ php composer.phar install
3333
You may also want to copy include/config.simple.inc.php to include/config.inc.php
3434
and edit it with your specific redis configuration.
3535

36+
Instead of using [composer](http://getcomposer.org/) you can also do a manual install using:
37+
38+
```
39+
git clone https://github.com/ErikDubbelboer/phpRedisAdmin.git
40+
cd phpRedisAdmin
41+
git clone https://github.com/nrk/predis.git vendor
42+
```
3643

3744
TODO
3845
====

overview.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@
3232

3333
$info[$i] = $redis->info();
3434
$info[$i]['size'] = $redis->dbSize();
35+
36+
if (!isset($info[$i]['Server'])) {
37+
$info[$i]['Server'] = array(
38+
'redis_version' => $info[$i]['redis_version'],
39+
'uptime_in_seconds' => $info[$i]['uptime_in_seconds']
40+
);
41+
}
42+
if (!isset($info[$i]['Memory'])) {
43+
$info[$i]['Memory'] = array(
44+
'used_memory' => $info[$i]['used_memory']
45+
);
46+
}
3547
}
3648

3749

0 commit comments

Comments
 (0)