function _acsf_sj_install_get_sjadd_path in Acquia Cloud Site Factory Connector 8.2
Same name and namespace in other branches
- 8 acsf_sj/acsf_sj.install \_acsf_sj_install_get_sjadd_path()
Returns the path to the sjadd binary.
Return value
string|null Returns sjadd path if $HOME exists, NULL otherwise.
1 call to _acsf_sj_install_get_sjadd_path()
- acsf_sj_requirements in acsf_sj/
acsf_sj.install - Implements hook_requirements().
File
- acsf_sj/
acsf_sj.install, line 71 - Provides requirements for installing the ACSF Scheduled Jobs module.
Code
function _acsf_sj_install_get_sjadd_path() {
return isset($_ENV['HOME']) ? $_ENV['HOME'] . '/acquia_sj/sjadd' : NULL;
}