Skip to content

Commit

Permalink
final touches
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Wolniewicz committed Jul 3, 2024
1 parent 8d2124b commit 113c737
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
6 changes: 4 additions & 2 deletions core/CAT.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class CAT extends \core\common\Entity
*/
public const VERSION_MAJOR = 2;
public const VERSION_MINOR = 1;
public const VERSION_PATCH = 1;
public const VERSION_PATCH = 2;
public const VERSION_EXTRA = "";
private const RELEASE_VERSION = FALSE;
private const USER_API_VERSION = 2;
Expand Down Expand Up @@ -619,7 +619,9 @@ public static function getRootUrlPath()
*/
public static function sessionStart()
{
$loggerInstance = new \core\common\Logging();
if (session_status() != PHP_SESSION_ACTIVE) {
$loggerInstance->debug(4, "Session start\n");
session_name("CAT");
session_set_cookie_params([
'lifetime' => 0,
Expand All @@ -628,7 +630,7 @@ public static function sessionStart()
'secure' => (isset($_SERVER['HTTPS']) ? TRUE : FALSE),
'httponly' => false,
'samesite' => 'strict'
]);
]);
session_start();
}
}
Expand Down
4 changes: 2 additions & 2 deletions schema/2_1_1-2_1_2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
*/

/**
* Author: twoln
* Created: 16 Mau 2024
* @author Tomasz Wolniewicz <twoln@umk.pl>
* Created: 16 May 2024
*/


Expand Down
7 changes: 7 additions & 0 deletions web/admin/overview_federation.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
* <base_url>/copyright.php after deploying the software
*/

/**
* This page displays the dashboard overview of a Federation.
*
* @author Stefan Winter <[email protected]>
* @author Tomasz Wolniewicz <[email protected]>
*/

require_once dirname(dirname(dirname(__FILE__)))."/config/_config.php";

$deco = new \web\lib\admin\PageDecoration();
Expand Down

0 comments on commit 113c737

Please sign in to comment.