Closed (fixed)
Project:
Date
Version:
6.x-2.x-dev
Component:
PHP4 Module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2009 at 11:31 UTC
Updated:
26 Aug 2010 at 21:10 UTC
Within the date_php4.inc file other files are included inside functions. When these functions are called many times this causes performance problems.
The enclosed patch simply moved the require_once statements to more appropriate places.
Before this I was getting maximum execution time exceeded messages on viewing a year calendar. While this is still very slow at least the page loads now.
| Comment | File | Size | Author |
|---|---|---|---|
| date_php4.inc_.moved_require.diff | 2.71 KB | raintonr |
Comments
Comment #1
karens commentedPhp4 is pretty hard to work with and I'm not really supporting it any more, but I went ahead and committed this.