fixed minor error alert phantomjs

This commit is contained in:
daniel 2018-06-13 11:55:05 +02:00
parent 7fe88d761e
commit 92204c4ec2
1 changed files with 2 additions and 2 deletions

View File

@ -2191,8 +2191,8 @@ function config_check () {
__('Please, change it on your PHP configuration file (php.ini) or contact with administrator (Dont forget restart apache process after changes)'), __("Problems with disable functions in PHP.INI"));
}
$result_ejectuion = exec($config['phantomjs_bin'] . 'phantomjs --version');
if(isset($result_ejectuion) || $result_ejectuion == ''){
$result_ejecution = exec($config['phantomjs_bin'] . '/phantomjs --version');
if(!isset($result_ejecution) || $result_ejecution == ''){
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 src="">Click here</a>',