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
79c903ed03
commit
0bfd78ee79
|
@ -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>
|
||||
|
||||
* pandoradb_data.sql: Update build/version to rc1.
|
||||
|
|
|
@ -48,8 +48,11 @@ if (! isset ($config["id_user"])) {
|
|||
$config["id_user"] = $_SESSION["id_usuario"];
|
||||
}
|
||||
|
||||
// Session check
|
||||
check_login ();
|
||||
//Fixed the graph for cron (that it's login)
|
||||
if ($_SERVER['REMOTE_ADDR'] != '127.0.0.1') {
|
||||
// Session check
|
||||
check_login ();
|
||||
}
|
||||
|
||||
/**
|
||||
* Show a brief error message in a PNG graph
|
||||
|
|
Loading…
Reference in New Issue