Skip to main content
Topic: How to prevent overwrite BaseController.php? (Read 1064 times) previous topic - next topic

How to prevent overwrite BaseController.php?

I have made some correction to baseController !   Some cookies functions and they should be in here as they are valid for all!
There is no standard option to prevent publishing baseController!
If I just open the project in phprad and baseController is overwritten..

I'm tired of copy/paste and in most cases I don't see phprad touching inside at all!
And to stop phprad updating I make the BaseController  [read only ] , but that is stupid
so
How to edit BaseController as my correction will stay?

 

Re: How to prevent overwrite BaseController.php?

Reply #1
@dobsun‍ you can only do that manually after generating your project, please note that BaseController is not meant to be edited as it is the core part of phprad, if you do so, do so at your own risk.