Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Another SILLY_SAFE_MODE observation  (Read 3945 times)

0 Members and 1 Guest are viewing this topic.

redwoodhead

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Another SILLY_SAFE_MODE observation
« 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!)
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Another SILLY_SAFE_MODE observation
« Reply #1 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.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Another SILLY_SAFE_MODE observation
« Reply #2 on: January 23, 2009, 08:44:19 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.

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).
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.