mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 09:19:01 +00:00
26 lines
635 B
PHP
26 lines
635 B
PHP
|
<?php
|
||
|
include_once('../tools/validate_cookie.php');
|
||
|
include_once('ring_session_manager_itf.php');
|
||
|
include_once('../tools/domain_info.php');
|
||
|
include_once('../login/config.php');
|
||
|
include_once('session_tools.php');
|
||
|
|
||
|
///////////////////////////
|
||
|
// Main code
|
||
|
///////////////////////////
|
||
|
|
||
|
|
||
|
$domainId = -1;
|
||
|
if (!validateCookie($userId, $domainId, $charId))
|
||
|
{
|
||
|
echo "<h1>Invalid cookie, please relog<H1>";
|
||
|
die;
|
||
|
}
|
||
|
|
||
|
planEditSession($charId, $domainId, $_POST["session_type"], $_POST["title"], $_POST["description"]);
|
||
|
|
||
|
echo "Finish<br>";
|
||
|
echo '<a href="web_start.php">Return to start menu</a>';
|
||
|
|
||
|
?>
|