This topic is locked

publish via ftp & config parameters

9/20/2007 5:59:49 AM
PHPRunner General questions
K
kjp author

Bonjour,
Perhaps I didn't enough searched (or read help?).
I work and test on "local" so the configuration of phpr is on "local" (under easyphp).
On the server, I have (of course) an another configuration:

login and password (are crypted) in "dbcommon" file.

So, I also have my own "decrypt " proc in "dbconnect" file (in function db_connect() )
and also my "own web "header" and "footer" files.
When we got an upgrade, the publish ftp procedure, upload all the output directory

(that's a very good thing!!)
After this "phpr's internal publish",

I replace on web server (with an external FTP soft)

these files by my own modified.

and keep in the local\output dir the originals builder's ones
After that, when I modify anything in local,

and upload via phpr ftp, I always keep my web config...

Till new phpr'soft upgrade...
Is there a possibility to "batch" that inside phpr:

a choice during test or build between "local" or "web"
Or is there an another way I did't seen?
TBA

Alexey admin 9/20/2007

Hi,
I'm afraid there is no another way to do this.

If you want to modify PHPRunner -created files you need to do this after each project build.