OPNsense Forum

English Forums => Documentation and Translation => Topic started by: NOYB on December 25, 2017, 11:33:57 PM

Title: Typo in Hello world module & plugin code sample
Post by: NOYB on December 25, 2017, 11:33:57 PM
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"));
Title: Re: Typo in Hello world module & plugin code sample
Post by: franco on December 26, 2017, 09:17:39 AM
Thanks, nice catch. Will change it in the templates, but will take a week or two to hit the online version.


Cheers,
Franco