partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit ba3012f849f0168c31e9b22cf475e064111e5010
parent a248a897cd2088bd962321e8a1779ac2de9dfa58
Author: Felicitus <felicitus@felicitus.org>
Date:   Thu, 29 Dec 2011 06:22:55 +0100

SystemInformation: Show status of APC, as well as the max_execution_time. Fixes #117

Diffstat:
Msrc/backend/de/RaumZeitLabor/PartKeepr/System/SystemService.php | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/backend/de/RaumZeitLabor/PartKeepr/System/SystemService.php b/src/backend/de/RaumZeitLabor/PartKeepr/System/SystemService.php @@ -42,11 +42,14 @@ class SystemService extends Service { } + $aData[] = new SystemInformationRecord("memory_limit", ini_get("memory_limit"), "PHP"); $aData[] = new SystemInformationRecord("post_max_size", ini_get("post_max_size"), "PHP"); $aData[] = new SystemInformationRecord("upload_max_filesize", ini_get("upload_max_filesize"), "PHP"); $aData[] = new SystemInformationRecord("post_max_size", ini_get("post_max_size"), "PHP"); $aData[] = new SystemInformationRecord("allow_url_fopen", ini_get("allow_url_fopen"), "PHP"); + $aData[] = new SystemInformationRecord("max_execution_time", ini_get("max_execution_time"), "PHP"); + $aData[] = new SystemInformationRecord("APC enabled", (extension_loaded("apc") ? PartKeepr::i18n("Yes") : PartKeepr::i18n("No")), "PHP"); $aData[] = new SystemInformationRecord("PartKeepr Version", PartKeepr::getVersion(), "PartKeepr");