Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
571263c9
Commit
571263c9
authored
Jun 03, 2019
by
Guinness
Browse files
Merge branch 'preprod' into 'preprod'
If not connected, do not allow access to the piplome See merge request
!111
parents
49b64116
88319b62
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/controller/cron.php
View file @
571263c9
...
...
@@ -22,6 +22,9 @@ class Cron extends Controller
{
// This method is used to generate a piplome. It might be called with an
// id parameters, in which case we will ask to regenerate a specific piplome.
if
(
!
$f3
->
exists
(
'SESSION.user'
))
{
$f3
->
reroute
(
'/login'
);
}
$logger
=
new
\
Log
(
"/piplome.log"
);
$ids
=
array
();
$db
=
$f3
->
get
(
'DB'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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