X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debugger%2Fcontroller.php;h=2fd43070fe6a7e4695e9e9f73aa76f62f24a2d75;hb=19b99735570521d8172f73124ade5997b9dca75d;hp=afb34ad5682e97d5c06a50538f2bc5d11380545f;hpb=09aa00da2d0521e3c244f0ea124a5d400abdf086;p=plcapi.git diff --git a/debugger/controller.php b/debugger/controller.php index afb34ad5..2fd43070 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(dirname(__FILE__).'/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/'; ?>
-