function _rnjs_installed in Responsive Navigation 7
Check if responsive-nav.js is installed if the Libraries module isn't installed.
1 call to _rnjs_installed()
- responsive_navigation_requirements in ./
responsive_navigation.install - Implements hook_requirements().
File
- ./
responsive_navigation.install, line 75 - Install, update, and uninstall functions for the responsive_navigation module.
Code
function _rnjs_installed($phase) {
return file_exists('sites/all/libraries/responsive_navigation/' . RNJS_MAIN_JS) || file_exists('profiles/' . drupal_get_profile() . '/libraries/responsive_navigation/' . RNJS_MAIN_JS);
}