Jump to content

If app is installed statement


Recommended Posts

In case you'd like to check if an app is installed and enabled then use first variant

{{if \IPS\Application::appIsEnabled('forums')}}
	forums app is installed and enabled
{{endif}}

{{if array_key_exists( 'forums', \IPS\Application::applications() )}}
	forums app is installed, but may be disabled
{{endif}}
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...