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

Links SQL 2.1 Change Heads Up...

Quote Reply
Links SQL 2.1 Change Heads Up...
Hi,

We had to make a change in 2.1.0 to how .cgi files are initilized. With 2.1.0, now you must start a script:

use Links qw/$IN $DB/; # I need these vars
Links::init ('/path/to/admin'); # Required
Links::init_user ('/path/to/admin'); # Optional

The first line now just lets you use $IN, $DB, $USER, $CFG variables in your program. However, they will be undefined until you call init. In 2.0.5 and in the beta, they would be automatically created during use.

We had to change this behavior in order to get the community working properly. The main thing is any plugin that creates a .cgi file will need to be updated.

Sorry!

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Links SQL 2.1 Change Heads Up... Alex 2948 Jan 7, 2002, 11:54 AM
Post Re: [Alex] Links SQL 2.1 Change Heads Up...
pugdog 2784 Jan 20, 2002, 3:11 PM
Thread Re: [Alex] Links SQL 2.1 Change Heads Up...
VishalT 2695 Feb 2, 2002, 11:33 PM
Post Re: [TRPN] Links SQL 2.1 Change Heads Up...
pugdog 2594 Feb 5, 2002, 3:10 PM