projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Provided an example in .htaccess how to restrict access by IP.
[timetracker.git]
/
mobile
/
task_edit.php
diff --git
a/mobile/task_edit.php
b/mobile/task_edit.php
index
248167f
..
e2dcc99
100644
(file)
--- a/
mobile/task_edit.php
+++ b/
mobile/task_edit.php
@@
-32,7
+32,7
@@
import('ttTeamHelper');
import('ttTaskHelper');
// Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team)
|| MODE_PROJECTS_AND_TASKS != $user->tracking_mode
) {
header('Location: access_denied.php');
exit();
}