mirror of https://github.com/MISP/MISP
Merge branch 'develop' of github.com:MISP/MISP into develop
commit
83f1397f96
|
@ -5,7 +5,8 @@
|
|||
if (!Configure::read('MISP.terms_file')) {
|
||||
$termsFile = APP ."View/Users/terms";
|
||||
} else {
|
||||
$termsFile = APP . 'files' . DS . 'terms' . DS . Configure::read('MISP.terms_file');
|
||||
$customTermsFile = basename(realpath(Configure::read('MISP.terms_file')));
|
||||
$termsFile = APP . 'files' . DS . 'terms' . DS . $customTermsFile;
|
||||
}
|
||||
if (!(file_exists($termsFile))) {
|
||||
echo "<p>" . __("Terms and Conditions file not found.") . "</p>";
|
||||
|
|
Loading…
Reference in New Issue