Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Documentation and Translation
(Moderator:
fabian
) »
Typo in Hello world module & plugin code sample
« previous
next »
Print
Pages: [
1
]
Author
Topic: Typo in Hello world module & plugin code sample (Read 4753 times)
NOYB
Jr. Member
Posts: 75
Karma: 6
Typo in Hello world module & plugin code sample
«
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"));
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Typo in Hello world module & plugin code sample
«
Reply #1 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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Documentation and Translation
(Moderator:
fabian
) »
Typo in Hello world module & plugin code sample