22 lines
271 B
PHP
22 lines
271 B
PHP
<?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;
|
|
}
|
|
}
|