diff options
-rw-r--r-- | .idea/workspace.xml | 6 | ||||
-rw-r--r-- | app/session.php | 2 | ||||
-rw-r--r-- | version.txt | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 82a9e19..c14badd 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -62,9 +62,8 @@ <change beforePath="$PROJECT_DIR$/app/genealogy/styles/dark.css" beforeDir="false" afterPath="$PROJECT_DIR$/app/genealogy/styles/dark.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/genealogy/tree/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/genealogy/tree/index.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/genealogy/tree/mktree.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/genealogy/tree/mktree.php" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/private/session.php" beforeDir="false" afterPath="$PROJECT_DIR$/private/session.php" afterDir="false" />
+ <change beforePath="$PROJECT_DIR$/app/session.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/session.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/version.txt" beforeDir="false" afterPath="$PROJECT_DIR$/version.txt" afterDir="false" />
- <change beforePath="$PROJECT_DIR$/welcome/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/welcome/index.php" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -176,7 +175,8 @@ <workItem from="1654692815481" duration="319000" />
<workItem from="1654695589166" duration="74000" />
<workItem from="1654708779061" duration="2539000" />
- <workItem from="1654712510961" duration="189000" />
+ <workItem from="1654712510961" duration="223000" />
+ <workItem from="1654712950908" duration="115000" />
</task>
<servers />
</component>
diff --git a/app/session.php b/app/session.php index e5a5986..013c6e7 100644 --- a/app/session.php +++ b/app/session.php @@ -28,7 +28,7 @@ if (isset($_COOKIE['FL_SESSION_TOKEN'])) { $_FULLNAME = $_PROFILE['name'];
$_FRENCH = $_PROFILE['profile']['locale']['name'] === "fr";
- if (!in_array($_USER, $_WELCOMED)) {
+ if (!in_array($_USER, $_WELCOMED) && $_FRENCH) {
header("Location: https://" . $_CONFIG["Global"]["cdn"] . "/welcome/?r=" . urlencode("https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"));
die();
}
diff --git a/version.txt b/version.txt index 4d938d5..8481860 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -4.10.8 (%ea%)
\ No newline at end of file +4.10.9 (%ea%)
\ No newline at end of file |