Nils Asmussen
21b2f587d5
Detect accesses to admin functions by guests.
...
This commit detects accesses to admin functions when the user is a guest
and returns a corresponding error. This is now used to redirect the user
to the start page instead of "non-existing function". It has the
advantage that a bug in Lychee, that causes a non-existing function
to be called, can be spotted easier.
2016-08-20 11:50:24 +02:00
Tobias Reich
f3d4ca06c8
Return import in correct format
2016-03-24 21:29:09 +01:00
Tobias Reich
bd0f23ed5c
Fixed create config function not stoping execution
2016-03-24 20:10:18 +01:00
Tobias Reich
d212363ebf
Return photo ID when upload successful #487
2016-03-24 18:40:58 +01:00
Tobias Reich
c6d8b5f312
Fixed long albums/photos ids for 32bit PHP versions #487
2016-03-24 18:23:19 +01:00
Tobias Reich
bad7819ff6
Moved Album::getAll into a separated file
2016-02-14 14:49:51 +01:00
Tobias Reich
72b4321c0c
Always response with Response::()
2016-02-13 23:38:04 +01:00
Tobias Reich
fcb80c9f32
Run self::fnNotFound() when no match found in access class
2016-02-13 23:34:24 +01:00
Tobias Reich
36f43c3e27
Strict if condition
2016-02-13 23:33:39 +01:00
Tobias Reich
e9accae2a7
Use Response in Access
2016-02-07 14:32:46 +01:00
Tobias Reich
f650de8967
Removed newline at end of file
2016-01-31 15:53:44 +01:00
Tobias Reich
207e98a81c
fnNotFound was not callable from extending class
2016-01-31 00:56:42 +01:00
Tobias Reich
026702114d
Missing parameter
2016-01-31 00:56:16 +01:00
Tobias Reich
e2eaa38b9c
Added missing argument
2016-01-30 23:23:58 +01:00
Tobias Reich
007cecc1d5
Fixed set login of initial username and password
2016-01-30 23:17:46 +01:00
Tobias Reich
e89203bcb1
// for comments and spaces for alignment
2016-01-30 23:03:43 +01:00
Tobias Reich
b13283e4d4
Added Validator, removed Module, changed Access classes
2016-01-30 21:33:31 +01:00
Tobias Reich
8c76d340a7
Renamed folder to Access
2016-01-26 15:33:59 +01:00