mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
2010-05-18 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: fixed the fgraph when cron get a report in PDF for to send, and this situation the fgraph execute in localhost althought it'snt login. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
68abd3bf5b
commit
7b2f8f6b29
@ -1,3 +1,9 @@
|
|||||||
|
2010-05-18 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* include/fgraph.php: fixed the fgraph when cron get a report in PDF for to
|
||||||
|
send, and this situation the fgraph execute in localhost althought it'snt
|
||||||
|
login.
|
||||||
|
|
||||||
2010-05-18 Sancho Lerena <slerena@artica.es>
|
2010-05-18 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* pandoradb_data.sql: Update build/version to rc1.
|
* pandoradb_data.sql: Update build/version to rc1.
|
||||||
|
@ -48,8 +48,11 @@ if (! isset ($config["id_user"])) {
|
|||||||
$config["id_user"] = $_SESSION["id_usuario"];
|
$config["id_user"] = $_SESSION["id_usuario"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Fixed the graph for cron (that it's login)
|
||||||
|
if ($_SERVER['REMOTE_ADDR'] != '127.0.0.1') {
|
||||||
// Session check
|
// Session check
|
||||||
check_login ();
|
check_login ();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show a brief error message in a PNG graph
|
* Show a brief error message in a PNG graph
|
||||||
|
Loading…
x
Reference in New Issue
Block a user