undef HALF_FREQUENCY_SENDING_TO_CLIENT
[ryzomcore.git] / web / public_php / ring / send_plan_edit_session.php
blobd3b52db97a5a8ffab343d8c83c60481dd1c09482
1 <?php
2 include_once('../tools/validate_cookie.php');
3 include_once('ring_session_manager_itf.php');
4 include_once('../tools/domain_info.php');
5 include_once('../login/config.php');
6 include_once('session_tools.php');
8 ///////////////////////////
9 // Main code
10 ///////////////////////////
13 $domainId = -1;
14 if (!validateCookie($userId, $domainId, $charId))
16 echo "<h1>Invalid cookie, please relog<H1>";
17 die;
20 planEditSession($charId, $domainId, $_POST["session_type"], $_POST["title"], $_POST["description"]);
22 echo "Finish<br>";
23 echo '<a href="web_start.php">Return to start menu</a>';