diff --git a/Library/Command/Server.php b/Library/Command/Server.php index 12bf7f4..40a6cea 100644 --- a/Library/Command/Server.php +++ b/Library/Command/Server.php @@ -448,7 +448,7 @@ function search($server, $port, $search, $level = false, $more = false) } else { # Detail level if ($level == 'full') { - $items[] = $item[1] . ' : [' . str_pad(Library_Data_Analysis::byteResize($item[2]), 7, ' ', STR_PAD_LEFT) . 'b, Expire : ' . (($item[3] == $infinite) ? '∞' : Library_Data_Analysis::uptime($item[3] - time(), true)) . ']'; + $items[] = $item[1] . ' : [' . trim(Library_Data_Analysis::byteResize($item[2])) . 'b, expire in ' . (($item[3] == $infinite) ? '∞' : Library_Data_Analysis::uptime($item[3] - time(), true)) . ']'; } else { $items[] = $item[1]; } diff --git a/View/Commands/Commands.phtml b/View/Commands/Commands.phtml index 09e5b57..f663886 100644 --- a/View/Commands/Commands.phtml +++ b/View/Commands/Commands.phtml @@ -164,8 +164,8 @@ Detail Level @@ -174,7 +174,7 @@ diff --git a/View/Footer.phtml b/View/Footer.phtml index 9b06f13..9ab59bd 100644 --- a/View/Footer.phtml +++ b/View/Footer.phtml @@ -7,7 +7,7 @@ if(Library_Data_Version::check())
- PHPMemcachedAdmin on GitHub - + PHPMemcachedAdmin on GitHub - PHPMemcachedAdmin Blog - Memcached.org - phpMemcachedAdmin <?php echo CURRENT_VERSION; ?> + PHPMemcachedAdmin <?php echo CURRENT_VERSION; ?>
-
phpMemcachedAdmin +
PHPMemcachedAdmin
get('file_path')) === false) {
path()) === false) { +if (is_writable($_ini->path()) === false) { ?>
- Error : Configuration file 'path()) ?>' is missing, please fix this error and try again. + Error : Configuration file 'path()) ?>' is not writable, please fix this error and try again.
path()) === false) { +} elseif (file_exists($_ini->path()) === false) { ?>
- Error : Configuration file 'path()) ?>' is not writable, please fix this error and try again. + Error : Configuration file 'path()) ?>' is missing, please fix this error and try again.