X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debugger%2Fcontroller.php;h=e58d2a44ce6a3a0d6ef308dbd8e59bad391171c7;hb=85f6c5ecb5094c17aa7a0134006534a8b8387274;hp=965b2efadadcbd2f069ea5e6cea6feea2cbfe043;hpb=40b3de7a7de2900c1ae0ecf28f4492b65b3b18c6;p=plcapi.git diff --git a/debugger/controller.php b/debugger/controller.php index 965b2ef..e58d2a4 100644 --- a/debugger/controller.php +++ b/debugger/controller.php @@ -1,321 +1,357 @@ 100%... * @todo add support for more options, such as ntlm auth to proxy, or request charset encoding - * * @todo parse content of payload textarea to be fed to visual editor * @todo add http no-cache headers **/ - include(__DIR__.'/common.php'); - if ($action == '') +// make sure we set the correct charset type for output, so that we can display all characters +//header('Content-Type: text/html; charset=utf-8'); + +include __DIR__ . '/common.php'; +if ($action == '') { $action = 'list'; +} - // relative path to the visual xmlrpc editing dialog - $editorpath = '../../javascript/debugger/'; - $editorlibs = '../../javascript/lib/'; +// relative path to the visual xmlrpc editing dialog +$editorpath = '../../phpjsrpc/debugger/'; +$editorlibs = '../../phpjsrpc/lib/'; ?>
-