Hi,
You're trying to disable the site?
This should do it in a global/plugin/.cgi script:
$CFG->save();
...and:
$CFG->save();
Muich safer than editing the way you are doing it
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
You're trying to disable the site?
This should do it in a global/plugin/.cgi script:
Code:
$CFG->{disabled} = 0; $CFG->save();
...and:
Code:
$CFG->{disabled} = 1; $CFG->save();
Muich safer than editing the way you are doing it
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!