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.
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.