You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<?php
|
|
|
|
|
|
|
|
class Auth
|
|
|
|
{
|
|
|
|
private $configs;
|
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
session_start();
|
|
|
|
}
|
|
|
|
|
|
|
|
public function sessionStatus()
|
|
|
|
{
|
|
|
|
if (isset($_SESSION["member"])) {
|
|
|
|
return true;
|
|
|
|
} else {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
//return $this->secret;
|
|
|
|
}
|
|
|
|
}
|