Fixed problems with access. Tiquet: #2479
This commit is contained in:
parent
25106d8383
commit
ea850a7d7a
|
@ -13,6 +13,8 @@
|
|||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
|
||||
session_start ();
|
||||
|
||||
error_reporting(1);
|
||||
|
||||
// Local settings for marquee extension
|
||||
|
@ -31,7 +33,6 @@ require_once ('../../include/functions_users.php');
|
|||
|
||||
global $config;
|
||||
|
||||
session_start ();
|
||||
|
||||
$config["id_user"] = $_SESSION["id_usuario"];
|
||||
|
||||
|
@ -39,9 +40,6 @@ $config["id_user"] = $_SESSION["id_usuario"];
|
|||
// Session locking concurrency speedup!
|
||||
check_login ();
|
||||
|
||||
session_write_close ();
|
||||
|
||||
|
||||
if (!isInACL($_SERVER['REMOTE_ADDR'])) {
|
||||
db_pandora_audit("ACL Violation",
|
||||
"Trying to access marquee without ACL Access");
|
||||
|
|
Loading…
Reference in New Issue