Changed link to phantomjs configuration

This commit is contained in:
danielmaya 2018-06-18 13:22:20 +02:00
parent 72f9bc754c
commit 14f4070558
1 changed files with 12 additions and 5 deletions

View File

@ -2192,11 +2192,18 @@ function config_check () {
} }
$result_ejecution = exec($config['phantomjs_bin'] . '/phantomjs --version'); $result_ejecution = exec($config['phantomjs_bin'] . '/phantomjs --version');
if(!isset($result_ejecution) || $result_ejecution == ''){ if(!isset($result_ejecution) || $result_ejecution == '') {
set_pandora_error_for_header( if ($config['language'] == 'es') {
__('To be able to create images of the graphs for PDFs, please install the phantom.js extension. For that, it is necessary to follow these steps:') . set_pandora_error_for_header(
'<a target="blank" href="https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_es:Configuracion#Phantomjs">Click here</a>', __('To be able to create images of the graphs for PDFs, please install the phantom.js extension. For that, it is necessary to follow these steps:') .
__("phantomjs is not installed")); '<a target="blank" href="https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_es:Configuracion#Phantomjs">Click here</a>',
__("phantomjs is not installed"));
} else {
set_pandora_error_for_header(
__('To be able to create images of the graphs for PDFs, please install the phantom.js extension. For that, it is necessary to follow these steps:') .
'<a target="blank" href="https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Configuration#Phantomjs">Click here</a>',
__("phantomjs is not installed"));
}
} }
} }