Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
809
Merge Requests
56
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
7687998d
Commit
7687998d
authored
22 hours ago
by
Emiliano Balbuena
Browse files
Options
Download
(chore): Not supported detection on head
parent
6ea45391
refactor/decouple-front-index
1 merge request
!643
(refactor): Remove engine logic from front/index.php
Pipeline
#96299272
failed with stages
in 25 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
src/index.php
View file @
7687998d
...
...
@@ -13,6 +13,16 @@
<title>
<?php
echo
$index
->
getTitle
()
?>
</title>
<script>
var
ua
=
window
.
navigator
.
userAgent
;
if
(
ua
.
indexOf
(
"
MSIE
"
)
>
-
1
||
(
ua
.
indexOf
(
"
Android 4.3
"
)
>
-
1
&&
!
(
ua
.
indexOf
(
'
Chrome
'
)
>
-
1
))
//android 4.3, but not chrome browser
)
{
window
.
location
.
href
=
'
/not-supported
'
;
}
</script>
<!-- inject:css -->
<!-- endinject -->
...
...
@@ -98,15 +108,5 @@
<?php
echo
$index
->
getTailHtml
()
?>
<script>
var
ua
=
window
.
navigator
.
userAgent
;
if
(
ua
.
indexOf
(
"
MSIE
"
)
>
-
1
||
(
ua
.
indexOf
(
"
Android 4.3
"
)
>
-
1
&&
!
(
ua
.
indexOf
(
'
Chrome
'
)
>
-
1
))
//android 4.3, but not chrome browser
)
{
window
.
location
.
href
=
window
.
Minds
.
site_url
+
'
not-supported
'
;
}
</script>
</body>
</html>
This diff is collapsed.
Please
register
or
sign in
to comment