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
/
tasks.php
diff --git
a/mobile/tasks.php
b/mobile/tasks.php
index
9b778bb
..
8b828cf
100644
(file)
--- a/
mobile/tasks.php
+++ b/
mobile/tasks.php
@@
-31,7
+31,7
@@
import('form.Form');
import('ttTeamHelper');
// 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();
}