From 531805be143eadd0dff4cfb88e4f072042ff384c Mon Sep 17 00:00:00 2001 From: WebShells <26513147+WebShells@users.noreply.github.com> Date: Thu, 14 Mar 2019 22:31:06 +0200 Subject: [PATCH] Minor System Info changes Few editions as requested --- application/views/configs/system_info.php | 73 +++++++++++------------ 1 file changed, 35 insertions(+), 38 deletions(-) diff --git a/application/views/configs/system_info.php b/application/views/configs/system_info.php index 2c5860384..ab7acb9b4 100644 --- a/application/views/configs/system_info.php +++ b/application/views/configs/system_info.php @@ -1,12 +1,14 @@ -
+
lang->line('config_server_notice'); ?> - + + + + + @@ -33,26 +35,20 @@ elseif (strpos($user_agent, 'Safari')) return 'Safari'; elseif (strpos($user_agent, 'Firefox')) return 'Firefox'; elseif (strpos($user_agent, 'MSIE') || strpos($user_agent, 'Trident/7')) return 'Internet Explorer'; - return 'Other'; } echo get_browser_name($_SERVER['HTTP_USER_AGENT']); ?>
- Server Software: -
- PHP Version: -
- Server Port: -
- DB Version: -
- OS: - + Server Software:
+ PHP Version:
+ Server Port:
+ DB Version:
+ OS: - - + +
lang->line('config_ospos_info'); ?>config->item('application_version'); ?> - config->item('commit_sha1'), 0, 6); ?>
- -
config->item('application_version'); ?> - config->item('commit_sha1'), 0, 6); ?>
Language Code
Extensions & Modules
File's PermissionsApplication/logs: + File Permissions[application/logs:] Writable ✓ '; } else { - echo 'NOT Writable ✗ '; + echo ' - ' . substr(sprintf("%o",fileperms($logs)),-4) . ' | ' . ' Not Writable ✗ '; } + clearstatcache(); ?>
- Public/uploads: + [public/uploads:] Writable ✓ '; } else { - echo 'NOT Writable ✗ '; + echo ' - ' . substr(sprintf("%o",fileperms($uploads)),-4) . ' | ' . ' Not Writable ✗ '; } + clearstatcache(); ?>
- public/uploads/item_pics: + [public/uploads/item_pics:] Writable ✓ '; } else { - echo 'NOT Writable ✗ '; + echo ' - ' . substr(sprintf("%o",fileperms($images)),-4) . ' | ' . ' Not Writable ✗ '; } + clearstatcache(); ?>
- import_items.csv: + [import_items.csv:] Writable ✓ '; } else { - echo 'NOT Writable/Read Only ✗'; - } + echo ' - ' . substr(sprintf("%o",fileperms($import)),-4) . ' | ' . ' Not Writable ✗ '; + } + clearstatcache(); ?>
- import_customers.csv: + [import_customers.csv:] '; + echo ' - ' . substr(sprintf("%o",fileperms($importcustomers)),-4) . ' | ' . ' Writable ✓ '; } else { - echo 'NOT Writable/Read Only ✗
'; + echo ' - ' . substr(sprintf("%o",fileperms($importcustomers)),-4) . ' | ' . ' Not Writable ✗ '; } - chmod("../import_items.csv",0664); - chmod("../import_customers.csv",0664); - echo "
"; - echo "CSV permissions were set to 0664"; + clearstatcache(); ?>
Report An issue -
-
+
\ No newline at end of file