XF 2.0 [SOLVED] class_extensions.xml always overwritten

HappyWorld

Well-known member
Hello.

I did manual editing on _data/class_extensions.xml
However when i run
Code:
php cmd.php xf-addon:build-release addon_id
, the XML content is overwritten into default, which is :
XML:
<?xml version="1.0" encoding="utf-8"?>
<class_extensions/>
How to avoid overwriting?

Thank you
 
Does running php cmd.php xf-dev:import --addon addon_id first work?
There is no error when i run that command.
But after i run the build-release, it is overwritten again.

UPDATE : solved, The cause was i didn't enter anything in Admin > Development > Class Extensions.
 
Last edited:
Back
Top Bottom