HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

[Developing] How to make a plugin that edits a file

I am trying to make a plugin that edits a file (more specifically config.php in the /conf folder) and that contains a section in the Dashboard which I'm sure I can copy from whichever plugin that does that. What I need help on, if you don't mind please, is the code to add data to the config.php file AND remove it when the users want to. I want to make a plugin that turns on and off the DEBUG function, but don't know the code to make an addon go into a Vanilla Configuration File.


Sign In or Register to comment.