All pastes #933990 Raw Edit

Someone

public php v1 · immutable
·published 2008-03-08 15:57 UTC
rendered paste body
//We redirect from in ajax calls, so we need to detect those redirects        function redirect($url, $status = null) {                if ($this->RequestHandler->isAjax()) {                        $url = '/ajax/'.ltrim($url, '/');                }                parent::redirect($url, $status);        }