Closed (fixed)
Project:
Translation template extractor
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jul 2007 at 11:36 UTC
Updated:
25 Oct 2007 at 19:51 UTC
1. The use of a shorthand notation in ini_set() is wrong. As per the PHP FAQ on using shorthand values: You may not use these shorthand notations outside of php.ini, instead use an integer value of bytes.
2. The configured memory_limit could already be higher than 16M (on PHP 5, the default value is 128M). Changing it to 16M without checking that before actually reduces the amount of memory available.
The attached patch fixes these issues.
--
Stefan Kudwien
unleashed mind
| Comment | File | Size | Author |
|---|---|---|---|
| memory_limit.patch | 648 bytes | smk-ka |
Comments
Comment #1
smk-ka commentedComment #2
gábor hojtsyGood catch. Thanks, committed.
Comment #3
(not verified) commented