mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-25 11:58:17 +02:00
Uploaded the 1.0 launcher website as well as test patcher website.
This commit is contained in:
parent
63b3098592
commit
a8f3fe28d4
32 changed files with 565 additions and 5 deletions
20
www/login_su/control_panel_common.php
Normal file
20
www/login_su/control_panel_common.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
if(!isset($_COOKIE["sessionId"]))
|
||||
{
|
||||
header("Location: control_panel_login.php");
|
||||
exit;
|
||||
}
|
||||
$g_sessionId = $_COOKIE["sessionId"];
|
||||
|
||||
try
|
||||
{
|
||||
$g_userId = GetUserIdFromSession($g_databaseConnection, $g_sessionId);
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
header("Location: control_panel_login.php");
|
||||
exit;
|
||||
}
|
||||
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue