Dear all,
When I used get_interfaces_info()
this function from interfaces.inc in my api controller then following error occurred
{"errorMessage":"[color=red]Error at /usr/local/etc/inc/interfaces.inc:4827 - Undefined index: status (errno=8)"}[/color]
. But when I used same function on my static php page inside /usr/local/www/
there is no error occurred.
Is it possible that function inside api controller.If possible then how can I use it?
I am using 17.7 .
This isn't possible. MVC code and static code have different implementations to ensure a clean transition away from static code at some point in the future.
Cheers,
Franco