Skip to content

Commit

Permalink
Fix teacher role logout and push version
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitkeremoktay committed Nov 20, 2020
1 parent 4c74fba commit 8879683
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions skymake-platform.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,17 @@ function loadWebMeeting(){
$requestsuccess = true;
include "nps/widgets/dash.php";
echo("<h1>"._("Logging you out...")."</h1>");
session_destroy();
header("Location: /");
?>
<script>
window.setTimeout(function(){

window.location.href = "/";

}, 3000);
</script>
<meta http-equiv="refresh" content="5; URL=/">
<?php
die();
}

if ($request == "home" or $request == "dash" or $request == "course" or $request == "oes" or $request == "liveclass" or $request == "grades" or $request == "home/" or $request == "dash/" or $request == "course/" or $request == "oes/" or $request == "liveclass/" or $request == "grades/") {
Expand Down
2 changes: 1 addition & 1 deletion thisversion.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php
define("THIS_VERSION","SFR-204514");
define("THIS_VERSION","SFR-204515");
define("VERSION_PROVIDER","Skyfallen Software Distribution");

0 comments on commit 8879683

Please sign in to comment.