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_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 | @@ -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']); ?>|||
| File's Permissions | -Application/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 - |
+