You are here

function apps_installer_lib_dir in Apps 7

Return the libraries directory to check.

2 calls to apps_installer_lib_dir()
apps_installer_has_write_access in ./apps.module
Check whether Apps has write access to libraries and modules directories.
apps_install_verify in ./apps.profile.inc
Show instructions and check system services to help guide direction for Apps installs.

File

./apps.module, line 539
Module file for Apps

Code

function apps_installer_lib_dir($create_directory = FALSE) {
  return is_dir('sites/all/libraries') || $create_directory && drupal_mkdir('sites/all/libraries', NULL, TRUE) ? 'sites/all/libraries' : 'sites/all';
}