Documentation
IPS_GetKernelDir
string IPS_GetKernelDir ()
Returns
The full path to the IP Symcon program folder
Description
The function returns a string containing the full path to the IP Symcon program folder (Settings, Scripts, Media, ...). Depending on the operating system, the path contains a trailing slash ("/") or backslash ("\").
Example
echo IPS_GetKernelDir();
// Examplary output:
/*
// Windows
// since Version 5.3
C:\ProgramData\Symcon\
// until Version 5.2
C:\Programs\IP-Symcon\
// Linux, RaspberryPi
/var/lib/symcon/
// MacOS
/Library/Application Support/Symcon/
*/