diff --git a/application/language/en-US/config_lang.php b/application/language/en-US/config_lang.php index 16ae15941..ac108e2c2 100644 --- a/application/language/en-US/config_lang.php +++ b/application/language/en-US/config_lang.php @@ -274,3 +274,5 @@ $lang["config_use_destination_based_tax"] = "Use Destination Based Tax"; $lang["config_website"] = "Website"; $lang["config_work_order_enable"] = "Work Order Support"; $lang["config_work_order_format"] = "Work Order Format"; +$lang["config_system_info"] = "System Info"; +$lang["config_server_notice"] = "Please use the below info for issue reporting."; \ No newline at end of file diff --git a/application/views/configs/manage.php b/application/views/configs/manage.php index f767c5dbe..5ffee5b10 100644 --- a/application/views/configs/manage.php +++ b/application/views/configs/manage.php @@ -47,6 +47,9 @@
  • lang->line('config_license'); ?>
  • +
  • + lang->line('config_system_info'); ?> +
  • @@ -92,6 +95,9 @@
    load->view("configs/license_config"); ?>
    +
    + load->view("configs/system_info"); ?> +
    load->view("partial/footer"); ?> diff --git a/application/views/configs/server_stats.php b/application/views/configs/server_stats.php new file mode 100644 index 000000000..1678b7348 --- /dev/null +++ b/application/views/configs/server_stats.php @@ -0,0 +1,100 @@ +
    + lang->line('config_server_notice'); ?> + + + + + + + + + + + + + + + + + +
    OSPOS Infoconfig->item('application_version'); ?> - config->item('commit_sha1'), 0, 6); ?>
    + +
    Extensions & Modules + '; + echo "BC Math: ", extension_loaded('bcmath') ? 'Enabled ✓' : 'MISSING ✗', '
    '; + echo "INTL: ", extension_loaded('intl') ? 'Enabled ✓' : 'MISSING ✗', '
    '; + echo "OpenSSL: ", extension_loaded('openssl') ? 'Enabled ✓' : 'MISSING ✗', '
    '; + echo "MBString: ", extension_loaded('mbstring') ? 'Enabled ✓' : 'MISSING ✗', '
    '; + echo "Curl: ", extension_loaded('curl') ? 'Enabled ✓' : 'MISSING ✗', '
    '; + // echo print_r(apache_get_modules()); + //echo "Rewrite Module: ", $isEnabled = in_array('mod_rewrite', apache_get_modules()); + //echo ($isEnabled) ? 'OK ✓' : 'MISSING ✗', '
    '; + ?> +
    User SettingsBrowser: +
    + + Server Software: +
    + PHP Version: +
    + Apache Version:
    + Server Port: +
    + DB Version: +
    + OS: +
    File's PermissionsApplication/logs: +
    + Public/uploads: +
    + public/uploads/item_pics: +
    + import_items.csv: + '; + echo ".htaccess permissions were reset to 644"; + ?> +
    +
    \ No newline at end of file