Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/kernel/db/db_event_handler.php
Show First 20 Lines • Show All 616 Lines • ▼ Show 20 Line(s) | |||||
return; | return; | ||||
} | } | ||||
if ( MOD_REWRITE ) { | if ( MOD_REWRITE ) { | ||||
$redirect_params = Array ( | $redirect_params = Array ( | ||||
'm_cat_id' => 0, | 'm_cat_id' => 0, | ||||
'next_template' => 'external:' . $_SERVER['REQUEST_URI'], | 'next_template' => 'external:' . $_SERVER['REQUEST_URI'], | ||||
'pass' => 'm', | |||||
); | ); | ||||
} | } | ||||
else { | else { | ||||
$redirect_params = Array ( | $redirect_params = Array ( | ||||
'next_template' => $current_template, | 'next_template' => $current_template, | ||||
'pass' => 'm', | |||||
); | ); | ||||
} | } | ||||
$exception = new kNoPermissionException($error_msg); | $exception = new kNoPermissionException($error_msg); | ||||
$exception->setup($redirect_template, $redirect_params); | $exception->setup($redirect_template, $redirect_params); | ||||
throw $exception; | throw $exception; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 2843 Lines • Show Last 20 Lines |