partkeepr

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

commit e7aa9de039626fe0dd7a40f1073d9bdd5694260e
parent 82220847803e28da84d0f8083f086ca1c12a06ab
Author: Felicitus <felicitus@felicitus.org>
Date:   Sun, 14 Aug 2011 19:06:25 +0200

Added some information regarding PHP configuration:

* memory_limit
* post_max_size
* upload_max_filesize
* post_max_size

Diffstat:
Msrc/de/RaumZeitLabor/PartKeepr/System/SystemService.php | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/de/RaumZeitLabor/PartKeepr/System/SystemService.php b/src/de/RaumZeitLabor/PartKeepr/System/SystemService.php @@ -38,7 +38,11 @@ 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"); + // TODO: add information about post max, file upload size, timeout, memory limit return array("data" => $aData); }