Split goaway to System::externalRedirectTo() and App->internalRedirect()
This commit is contained in:
@@ -61,7 +61,7 @@ abstract class BaseModule extends BaseObject
|
||||
public static function post()
|
||||
{
|
||||
// $a = self::getApp();
|
||||
// $a->redirect('module');
|
||||
// $a->internalRedirect('module');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -139,7 +139,7 @@ abstract class BaseModule extends BaseObject
|
||||
logger('checkFormSecurityToken failed: user ' . $a->user['guid'] . ' - form element ' . $typename);
|
||||
logger('checkFormSecurityToken failed: _REQUEST data: ' . print_r($_REQUEST, true), LOGGER_DATA);
|
||||
notice(self::getFormSecurityStandardErrorMessage());
|
||||
goaway(System::baseUrl() . $err_redirect);
|
||||
$a->internalRedirect($err_redirect);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user