openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 3bdad6ae1e25a2dcb159fc7db88f09754faa2fb8
parent 3c9a118030a693e96f947a98e2e0396d1ba72d31
Author: Jan Dankert <devnull@localhost>
Date:   Thu, 10 Jul 2014 21:18:41 +0200

Methode Http::notAuthorized benötigt 2 Parameter.

Diffstat:
dispatcher.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dispatcher.php b/dispatcher.php @@ -112,7 +112,7 @@ if ( !empty($conf['interface']['timeout']) ) set_time_limit( intval($conf['interface']['timeout']) ); if ( config('security','use_post_token') && $_SERVER['REQUEST_METHOD'] == 'POST' && @$REQ[REQ_PARAM_TOKEN]!=token() ) - Http::notAuthorized("Token mismatch"); + Http::notAuthorized("Token mismatch","Token mismatch"); define('FILE_SEP',$conf['interface']['file_separator']);