coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: redwoodhead on January 22, 2009, 12:48:43 AM

Title: Another SILLY_SAFE_MODE observation
Post by: redwoodhead on January 22, 2009, 12:48:43 AM
Not a big deal, and perhaps obvious, but don't do what I did.

Many threads here point out the necessity of including the line
define ( 'SILLY_SAFE_MODE' , 1 ) ;
in config.inc.php in order to put Coppermine into SILLY_SAFE_MODE.

What does NOT work is to change the "1" to a "0" to reverse this mode setting.  Just remove the line.  The code checks for SILLY_SAFE_MODE being defined, not what the value is.  Changing the "1" to "0" will leave it just as defined as it was.

(The Fantastico installation that installed Coppermine on my webhost set this.  It wasn't my idea!)
Title: Re: Another SILLY_SAFE_MODE observation
Post by: Fabricio Ferrero on January 22, 2009, 07:04:49 AM
Quote(The Fantastico installation that installed Coppermine on my webhost set this.  It wasn't my idea!)
That's why it's totally not recommended to use it. (http://documentation.coppermine-gallery.net/en/auto-installers.htm#auto-installers)
Title: Re: Another SILLY_SAFE_MODE observation
Post by: Joachim Müller on January 23, 2009, 08:44:19 AM
Quote from: redwoodhead on January 22, 2009, 12:48:43 AM
What does NOT work is to change the "1" to a "0" to reverse this mode setting.  Just remove the line.  The code checks for SILLY_SAFE_MODE being defined, not what the value is.  Changing the "1" to "0" will leave it just as defined as it was.
That's correct - that's how constants work and are being used in coppermine. Thanks for your notion to mention this in case it was not clear for others.

Quote from: redwoodhead on January 22, 2009, 12:48:43 AM
The Fantastico installation that installed Coppermine on my webhost set this.  It wasn't my idea!
As Fabri suggested: we're not fond of auto-installers, and particularly not of Fantastico. Fantastico-driven installs go unsupported by us. Complain @ Netenberg (the creators of Fantastico).