Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

When is Config file written back to HD?

Quote Reply
When is Config file written back to HD?
I suppose, that the Config file (/admin/Links/Config/Data.pm) is written back to the disk, when the $CFG global object is destroyed (supposedly, in CGI mode when the script ends, or in mod_perl mode at the start of the script when the Links::init() is called).

This means, I can change the GT::Config objects as often I want, and still only the latest state is written back to the disk, so only once in each script execution?


Is that right?
Can somebody confirm this?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...