I InfernoDev Active member Feb 10, 2026 #1 when I use an xf_make:controller command it defaults to public is there away to make it an admin controller? I realize I can just move it to the admin directory but can I do it from the command?
when I use an xf_make:controller command it defaults to public is there away to make it an admin controller? I realize I can just move it to the admin directory but can I do it from the command?
Chris D XenForo developer Staff member Feb 10, 2026 #2 Code: --type admin Also bear in mind you can add --help to any command to see the full documentation.
Code: --type admin Also bear in mind you can add --help to any command to see the full documentation.
I InfernoDev Active member Feb 10, 2026 #3 Chris D said: Code: --type admin Also bear in mind you can add --help to any command to see the full documentation. Click to expand... ok this works.
Chris D said: Code: --type admin Also bear in mind you can add --help to any command to see the full documentation. Click to expand... ok this works.