-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
michal, why do you not add your 'Demo Server' message to the language files?
and possible a config switch
// set to true to enable demo server message display $cfg['demoserver'] = false;
?
- -- Sebastian Mendel
www.sebastianmendel.de
Hi
On Tue, 20 Jun 2006 14:21:19 +0200 Sebastian Mendel lists@sebastianmendel.de wrote:
michal, why do you not add your 'Demo Server' message to the language files?
and possible a config switch
// set to true to enable demo server message display $cfg['demoserver'] = false;
?
Because I thought it's rather private think which don't have to be exposed. If you feel it different, it can be added.
Anyway it is used in config.header and recent changes which droped libraries/header_custom.inc.php effectively disallow to do such change in upstream.
Michal Čihař a écrit :
Hi
On Tue, 20 Jun 2006 14:21:19 +0200 Sebastian Mendel lists@sebastianmendel.de wrote:
michal, why do you not add your 'Demo Server' message to the language files?
and possible a config switch
// set to true to enable demo server message display $cfg['demoserver'] = false;
?
Because I thought it's rather private think which don't have to be exposed. If you feel it different, it can be added.
Anyway it is used in config.header and recent changes which droped libraries/header_custom.inc.php effectively disallow to do such change in upstream.
Michal, what is the problem with those changes? Putting your changes in config.header.inc.php is not correct?
Marc
Hi
On Tue, 20 Jun 2006 09:02:38 -0400 Marc Delisle Marc.Delisle@cegepsherbrooke.qc.ca wrote:
what is the problem with those changes? Putting your changes in config.header.inc.php is not correct?
Adding config switch as Sebastian proposed means this code will be in CVS and not in user changes.
Anyway I personally do not like those changes as they split same code all over the code base. I think there should be only one place where testing for custom header/footer is done and it then should be used elsewhere.
Maybe function in common would be more suitable for this than separate file...