[Xerte-dev] Re: config.php should it be config-dist.php?

Pat Lockley patrick.lockley at googlemail.com
Wed Jul 18 11:37:57 BST 2012


It depends on which system you mean - Wordpress requires you to edit a config file and it makes the install awkward in my mind.

Drupal doesn't require any editing, unless you want to multi site.

I don't think moodle has a dist?

I don't think config dist is standard for all

You might want to phrase the problem as - why are there hard coded settings in config.php?

On 18 Jul 2012, at 11:07, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:

> Hi
> been wondering about this...
>  
> Although at the moment there isn't much to configure in config.php apart from commenting/un-commenting the required authentication method renaming config.php to config-dist.php would follow the way other apps do this. The reason it's relevant is when dragging the latest code over the top of an existing install where at the moment config.php overwrites the existing file and therefore changes the authentication back to guest.
>  
> Having said that I guess changing it to config-dist.php has implications for the quick xampp install code where the file would need to be copied/renamed like what used to happen with demo.txt.
>  
> If we don't rename I guess there needs to be a reminder somewhere about not overwriting an existing 1.8 config.php
>  
> Just wondering...
> 
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
> 
> _______________________________________________
> Xerte-dev mailing list
> Xerte-dev at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
> 
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> 
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120718/729fd11e/attachment.html>


More information about the Xerte-dev mailing list