sasanrose / phpredmin

Yet another web interface for Redis
BSD 3-Clause "New" or "Revised" License
404 stars 96 forks source link

Fixed regex for DB key count #28

Closed blitzmann closed 10 years ago

blitzmann commented 10 years ago

Fix for Issue #26.

This fixed a broken regex. My $info["db<number>"] variable had the following format: keys=1,expires=0,avg_ttl=0. The $ asserted that expires was at the end of the string when, in my case, it was not. Not sure if this is due to different redis configs / versions.