coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: deejaymoni on August 08, 2004, 09:20:44 PM

Title: Problem with Safe Mod???
Post by: deejaymoni on August 08, 2004, 09:20:44 PM
Hello everybody,

I have problem with this safe mode I don't know what this mean?

Notice: Constant SILLY_SAFE_MODE already defined in /home/www/ncf270/html/include/config.inc.php on line 4
Title: Re: Problem with Safe Mod???
Post by: Casper on August 08, 2004, 10:34:41 PM
Where are you seeing this notice.  I have to use SILLY_SAFE_MODE on both my sites, and this warning always appears on the admin utilities page, but nowhere else.

If that is the only place you see it, no need to worry.

@gaugau/tarique, this is caused by the util.php requiring the config.inc.php.  I have tried it without this, and it still seems to work for me. Is there any reason not to remove it?  If not, I will fix and commit.
Title: Re: Problem with Safe Mod???
Post by: Joachim Müller on August 08, 2004, 11:40:48 PM
if it works without it, remove it. Util.php has originally been done by wormie, who is "not-so-active" - util.php has been his only contribution so far, so I guess the include might have slipped in by accident.

GauGau
Title: Re: Problem with Safe Mod???
Post by: Casper on August 09, 2004, 12:09:30 AM
I just noticed that the dev version already has this removed, so I will do the same for the stable.