Changed link to phantomjs configuration
This commit is contained in:
parent
72f9bc754c
commit
14f4070558
|
@ -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"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue