luvas2010 / rapyd-framework

Automatically exported from code.google.com/p/rapyd-framework
0 stars 0 forks source link

Change config.php to config.sample.php #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. svn checkout the trunk
2. change the configuration
3. wait months for a new revision
3. update again from the trunk

What is the expected output? 

Everything should keep working

What do you see instead?

config.php will be overrode. Website will stop working, customers will 
complains, ponies will die.

What version of the product are you using? On what operating system?

0.9

Please provide any additional information below.

ciao ciao

Original issue reported on code.google.com by tac...@gmail.com on 15 Oct 2011 at 3:57

GoogleCodeExporter commented 9 years ago
;) solution:# svn propset svn:ignore config.php .
or
suggest alternative.

Original comment by felice.ostuni on 16 Oct 2011 at 1:06

GoogleCodeExporter commented 9 years ago
a) rename it to config.sample.php and tell the user to create a config.php 
otherwise rapyd won't work.
(this is the classic solution used by wordpress, phpmyadmin etc)

or

b) put config.php in core/ and let user to overwrite it with 
application/config.php

Original comment by tac...@gmail.com on 16 Oct 2011 at 11:16

GoogleCodeExporter commented 9 years ago
ok, b) preferred, more in standard with cascade resource load.

Original comment by felice.ostuni on 29 Oct 2011 at 10:22