Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
prodige
bdl_visualiseur_core
Commits
8308ce4f
Commit
8308ce4f
authored
Sep 14, 2020
by
jnaud
Browse files
merge
parents
67c2100b
9efd3d7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Controllers/Traits/ContextTrait.php
View file @
8308ce4f
...
...
@@ -64,9 +64,10 @@ Trait ContextTrait
$contextFolder
=
$this
->
config
->
params
->
PATH_DATA
.
"/owscontext/"
.
$account
.
'/'
;
$contextFilename
=
str_replace
(
'.map'
,
'.geojson'
,
$contextPath
);
//temp context not checked
if
(
$this
->
beginsWith
(
$contextPath
,
"/layers/TMP_"
)){
$checkRights
=
false
;
}
if
(
$this
->
beginsWith
(
$contextPath
,
"/layers/TMP_"
)
||
$this
->
beginsWith
(
$contextPath
,
"/carteperso/"
)){
$checkRights
=
false
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment