[development] Evil hack: admin/modules without memory restrictions

Earl Miles merlin at logrus.com
Sat Jan 21 05:14:47 UTC 2006


Adrian Rossouw wrote:
> 
> On 21 Jan 2006, at 7:26 AM, Gerhard Killesreiter wrote:
> 
>> Attached is a patch that will make Drupal
>>
>> 1) read the module files
>> 2) looking for help, init, exit hooks
>> 3) write these hooks to a file
>> 4) include that file
>> 5) delete the file
> 
> Or you could skip all that and have a simple text file in the module  
> directory that is parseable.
> 
> I don't believe there's a single good reason to have all the modules  
> loaded just to get their descriptions.

That is certainly what the future should be.

This patch is really just a hack that can be used Right Now to make 
admin/modules use less memory. That's why killes said this is not in 
consideration to actually be used by Drupal.


More information about the development mailing list