AndyB
Well-known member
I would like to create an add-on which would allow switching to development mode from within the Admin control panel.
Is it possible to extend the App.php file?
Currently I have created an add-on called Development mode and extended App.php the way I have with many other add-ons, that is to use the XFCP system, however it doesn't work.
Thank you for your help.
Is it possible to extend the App.php file?
Currently I have created an add-on called Development mode and extended App.php the way I have with many other add-ons, that is to use the XFCP system, however it doesn't work.
PHP:
<?php
namespace Andy\DevelopmentMode\XF;
class App extends XFCP_App
{
public function checkDebugMode()
{
}
}
Thank you for your help.