9 Mar
2005
9 Mar
'05
10:58 a.m.
Gerhard Killesreiter wrote:
Hi there!
One of the problems that our Debian packager has had is that for example the update script includes bootstrap.inc and common.inc. These in turn include severayl other .inc files. In three of these files (bootstrap, common, and session) there is php code that does not only define new functions, but also executes them. This is pretty annoying, as it for example starts a session which you might not want and initializes several parts of Drupal you might prefer to not execute for some reason. You'd however still like all the common.inc functions to be available.
Very good -your patch-, not only for the reasons you point out, but also for cleanness and readability of the code.