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
/
client_add.php
diff --git
a/mobile/client_add.php
b/mobile/client_add.php
index
56f5d08
..
e489496
100644
(file)
--- a/
mobile/client_add.php
+++ b/
mobile/client_add.php
@@
-32,7
+32,7
@@
import('ttClientHelper');
import('ttTeamHelper');
// Access check.
-if (!ttAccessCheck(right_manage_team)) {
+if (!ttAccessCheck(right_manage_team)
|| !$user->isPluginEnabled('cl')
) {
header('Location: access_denied.php');
exit();
}