This topic is locked
[SOLVED]

 Software overwrites custom changes to register.php and commonfunctions

7/16/2008 20:36:47
PHPRunner General questions
B
bochaka author

Hi

My project necessitated my making manual changes to the register.php and commonfunctions.php files.However when i build , the process undoes the changes that i made.

Is there a way around this apart from making a copy of the changed files and then ftping them seperately afterwards. also would it be handy to include the ability to ftp files without first having to go through the build process or mark certain files as "do not alter during build", in future versions of the software.

K
kdeloach 7/16/2008

Another issue is it uploads all the files before checking if any files were actually updated. 2-3 minutes later it tells you "Nothing to upload". Not to mention that the FCK plugin adds 400+ files to the upload (not phprunner's fault but seriously, this doesn't need to be uploaded every time). Wastes alot of time, I've started to use a third-party FTP client to get more control.
You might be able to just edit the source templates C:\Program Files\PHPRunner x.x\source\ to make your changes be included on every rebuild, its what I do...

But it depends on how customized your changes are. Also, need to backup the source folder for future projects.

A
alang 7/17/2008

Hi

My project necessitated my making manual changes to the register.php and commonfunctions.php files.However when i build , the process undoes the changes that i made.

Is there a way around this apart from making a copy of the changed files and then ftping them seperately afterwards. also would it be handy to include the ability to ftp files without first having to go through the build process or mark certain files as "do not alter during build", in future versions of the software.


Suggest one way is to set up your own custom business template. This allows you to "override" these php files - you keep your custom version under your business template and PHPR will use that as the source whenever your project is built.