1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/src/aphront
epriestley 14569ae491 Add a user-accessible hook for dumping debug code into an install
Summary:
Currently, there's no easy way for me to tell a user "run this code from the webserver and tell me what it says". Sometimes installs can add new .php files to, e.g., `webroot/rsrc/`, but this is setup-dependent and not universal. Generally I resort to saying "put this into index.php", but that's error prone and not acceptable on active installs.

Add a "debug" controller so I can instead say "put this into support/debug.php, then visit /debug/".

Test Plan: Visited /debug/ with and without support/debug.php files. Visited /staus/.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran

Differential Revision: https://secure.phabricator.com/D5212
2013-03-04 13:45:51 -08:00
..
__tests__ Add passthru to AphrontRequest 2012-12-11 17:27:02 -08:00
configuration Add a user-accessible hook for dumping debug code into an install 2013-03-04 13:45:51 -08:00
console Restore merge of phutil_tag. 2013-02-13 14:51:18 -08:00
exception Delete license headers from files 2012-11-05 11:16:51 -08:00
response Restore merge of phutil_tag. 2013-02-13 14:51:18 -08:00
sink Share more HTTPSink code 2012-12-25 06:17:45 -08:00
AphrontController.php Throw instead of log for invalid properties 2012-12-18 16:15:01 -08:00
AphrontRequest.php Restore merge of phutil_tag. 2013-02-13 14:51:18 -08:00
AphrontURIMapper.php Delete license headers from files 2012-11-05 11:16:51 -08:00