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]
/
index.php
diff --git
a/index.php
b/index.php
index
610794e
..
51e1e01
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-33,8
+33,7
@@
if ($auth->isAuthenticated()) {
if ($user->isAdmin()) {
header('Location: admin_teams.php');
exit();
- }
- else if ($user->isClient()) {
+ } elseif ($user->isClient()) {
header('Location: reports.php');
exit();
}