fixed minor errors
This commit is contained in:
parent
80ddcbe1b6
commit
9e229e6228
|
@ -13,13 +13,14 @@
|
|||
// GNU General Public License for more details.
|
||||
|
||||
// Global & session manageme
|
||||
|
||||
|
||||
session_id($_GET["session_id"]);
|
||||
|
||||
$user = file_get_contents(session_save_path() . "/pansess_" . session_id());
|
||||
if (file_exists(session_save_path() . "/pansess_" . session_id())) {
|
||||
$user = file_get_contents(session_save_path() . "/pansess_" . session_id());
|
||||
}
|
||||
session_start();
|
||||
$_SESSION["id_usuario"] = $user;
|
||||
if (isset($user)) {
|
||||
$_SESSION["id_usuario"] = $user;
|
||||
}
|
||||
session_write_close();
|
||||
|
||||
|
||||
|
|
|
@ -3238,7 +3238,7 @@ function generator_chart_to_pdf($type_graph_pdf, $params, $params_combined = fal
|
|||
$session_id = session_id();
|
||||
|
||||
$result = exec(
|
||||
$config['phantomjs_bin'] ."/phantomjs " . $file_js . " " .
|
||||
io_safe_output($config['phantomjs_bin']) . DIRECTORY_SEPARATOR ."phantomjs " . $file_js . " " .
|
||||
$url . " '" .
|
||||
$type_graph_pdf . "' '" .
|
||||
$params_encode_json . "' '" .
|
||||
|
|
Loading…
Reference in New Issue