Bläddra i källkod

did debug code break something

development
mauirixxx 8 år sedan
förälder
incheckning
53af134ec3
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. +3
    -3
      gw-login.php

+ 3
- 3
gw-login.php Visa fil

@@ -1,10 +1,10 @@
<?php
session_start();
if (isset($_SESSION['userid']) && ($_SESSION['access'])){
$userid = $_SESSION['userid'];
$acc = $_SESSION['access'];
//$userid = $_SESSION['userid'];
//$acc = $_SESSION['access'];
echo 'Proceed to character selection <A HREF="gw-toon.php">here</A><BR>'; //really should automate this
echo 'Your session userid is ' . $userid . ' and your access is ' . $acc . '<BR />';
//echo 'Your session userid is ' . $userid . ' and your access is ' . $acc . '<BR />';
} else {
include_once 'gw-connect.php';
$con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME);


Laddar…
Avbryt
Spara