ZenphotoCMS Forum
$conf['security_ack'] - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: $conf['security_ack'] (/thread-12997.html)



$conf['security_ack'] - Nordlicht - 2018-01-21

What is security_ack?
What is it for?
Can't find any docu about that.




$conf['security_ack'] - acrylian - 2018-01-21

No idea, nothing from Zenphoto itself. Where does this appear?




$conf['security_ack'] - Nordlicht - 2018-01-21

zp-data/zenphoto.cfg.php




$conf['security_ack'] - acrylian - 2018-01-21

I have no idea where this would come from. Never seen that and cannpt find a reference to this so far. It is for sure not part of the default Zenphoto config file.
https://github.com/zenphoto/zenphoto/blob/master/zp-core/zenphoto_cfg.txt

Try to remove it and see if it returns. The server log perhaps has some access to the config file if it is changed somehow.




$conf['security_ack'] - Nordlicht - 2018-01-21

Comparing my zenphoto_cfg.txt with github then:

I am missing line 77
'gallery'=>

and in line 92 and 93 I have:
$conf['security_ack'] = 2;
$conf['FILESYSTEM_CHARSET'] = "UTF-8";




$conf['security_ack'] - acrylian - 2018-01-21

I see it on our live site as well but none of my other (local) sites. Somehow I don't remember this at all, probably setup adds it on certain occasions.

Will take a look later.




$conf['security_ack'] - acrylian - 2018-01-21

Found it finally, it was a bit hidden and my IDE didn't search setup files because I had them protected….

So it is from a setup specific function named acknowledge(). It sets this if you decided to ignore these issues setup reported:

  • display errors on
  • register globals on

Both should be off generally.




$conf['security_ack'] - Nordlicht - 2018-01-21

Thanks for investigating!