From 92204c4ec2ced73e6a5152bc6e89c7076923f2f9 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 13 Jun 2018 11:55:05 +0200 Subject: [PATCH] fixed minor error alert phantomjs --- pandora_console/include/functions_config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_config.php b/pandora_console/include/functions_config.php index a2736bb512..ccb715c59b 100644 --- a/pandora_console/include/functions_config.php +++ b/pandora_console/include/functions_config.php @@ -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:') . 'Click here',