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