Typo in Hello world module & plugin code sample

Started by NOYB, December 25, 2017, 11:33:57 PM

Previous topic - Next topic
Docs »
Development Manual »
Examples »
Hello world module & plugin

https://docs.opnsense.org/development/examples/helloworld.html#add-actions

This add actions section example code line...
$bckresult = trim($backend->configdRun("template reload OPNsense.HelloWorld"));

should be...
$bckresult = trim($backend->configdRun("template reload OPNsense/HelloWorld"));

Thanks, nice catch. Will change it in the templates, but will take a week or two to hit the online version.


Cheers,
Franco