From cb59dd8b06a8d5086cd1ecc0ec64e311fed5806e Mon Sep 17 00:00:00 2001 From: 3x0k1d <3x0k1d@gmail.com> Date: Mon, 5 May 2025 07:08:12 +0300 Subject: [PATCH] little changes --- checkers/php-redis.php | 2 +- index.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/checkers/php-redis.php b/checkers/php-redis.php index 479f4fd..df9d0ba 100644 --- a/checkers/php-redis.php +++ b/checkers/php-redis.php @@ -15,4 +15,4 @@ This PHP script check a basic feauteres of the phpredis extension: $redis = new Redis(); $redis->connect('127.0.0.1', 6379); $redis->set('foo', 'bar'); -echo $redis->get('foo'); \ No newline at end of file +echo ("Output:" . $redis->get('foo')); \ No newline at end of file diff --git a/index.php b/index.php index e7fb9ac..a904e2d 100644 --- a/index.php +++ b/index.php @@ -24,19 +24,19 @@ $status_code = array ( for ($i = 0; $i < count($module_list); $i++) { if ($module_list[$i] == "") { - echo " Error. Modules doesn't deffined". $module_list[$i] .""; + echo "Error. Module doesn't deffined". $module_list[$i] .""; } else { - echo '

'. $module_list[$i] .":"; - echo '' . 'Click ' . `

`; $module_name = str_replace('php-', '', $module_list[$i]); if (!extension_loaded($module_name)) { - echo '
Module: '. $module_list[$i] . ' not loaded
'; + echo '

'. $module_list[$i] .":"; + echo '' . 'Click ' . `

`; } else { - echo '
Module: ' . $module_list[$i] . ' is loaded
'; + echo '

'. $module_list[$i] .":"; + echo '' . 'Click ' . `

`; } } }