Fixed problems with access. Tiquet: #2479

This commit is contained in:
m-lopez-f 2015-07-29 10:43:14 +02:00
parent 25106d8383
commit ea850a7d7a
1 changed files with 2 additions and 4 deletions

View File

@ -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");