[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class DiffusionRepositoryDefaultController extends DiffusionController { 4 5 public function processRequest() { 6 // NOTE: This controller is just here to make sure we call 7 // willBeginExecution() on any /diffusion/X/ URI, so we can intercept 8 // `git`, `hg` and `svn` HTTP protocol requests. 9 10 // If we made it here, it's probably because the user copy-pasted a 11 // clone URI with "/anything.git" at the end into their web browser. 12 // Send them to the canonical repository URI. 13 14 return id(new AphrontRedirectResponse()) 15 ->setURI($this->getDiffusionRequest()->getRepository()->getURI()); 16 } 17 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |