CodeIgniter Forums
Using RapidPHP [Editor] with CI in WAMP and LAMP - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Using RapidPHP [Editor] with CI in WAMP and LAMP (/thread-25243.html)



Using RapidPHP [Editor] with CI in WAMP and LAMP - El Forum - 12-05-2009

[eluser]Stilly[/eluser]
Hi

not sure this is the right forum, but I give it a try: Does any of you work in a similar environment?

I have a WAMP installation on my WinXP and a LAMP installation on my server. I am using RapidPHP 2010 for my CI project.

Naturally my local system differs slightly from my remote system. For instance my local system would have

Code:
$config['base_url'] = "http://localhost/sitefolder";

where my remote system would have

Code:
$config['base_url'] = "http://www.mydomain.com/";

same goes with DB etc.

Now the "Publish to FTP" function is realy neat, but every time I want to use it I have to either select/deselect all files manually or I will overwrite all those little changes on the sever.

Is there are solution to this?

(I was thinking of setting those files to something like 444 on the server - is that the way to go?)

Sven