Skip to content

Commit

Permalink
GH-230 Prepare placeholder for Overview module
Browse files Browse the repository at this point in the history
  • Loading branch information
mdziekon committed Jul 2, 2022
1 parent f2f1847 commit 3049170
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/overview/_includes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

// TODO: Migrate to IIFE once PHP 5 support is removed
call_user_func(function () {
global $_EnginePath;

$includePath = $_EnginePath . 'modules/overview/';

include($includePath . './screens/FirstLogin/FirstLogin.screen.php');

});

?>
5 changes: 5 additions & 0 deletions modules/overview/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

header("Location: ../index.php");

?>
12 changes: 12 additions & 0 deletions modules/overview/screens/FirstLogin/FirstLogin.screen.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

namespace UniEngine\Engine\Modules\Overview\Screens\FirstLogin;

/**
* @param array $params
*/
function render($props) {
// TODO: Placeholder
}

?>
5 changes: 5 additions & 0 deletions modules/overview/screens/FirstLogin/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

header("Location: ../index.php");

?>
5 changes: 5 additions & 0 deletions modules/overview/screens/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

header("Location: ../index.php");

?>

0 comments on commit 3049170

Please sign in to comment.