X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debugger%2Fcontroller.php;h=e58d2a44ce6a3a0d6ef308dbd8e59bad391171c7;hb=b19b4df8cca4856106ed6d19c9fec5d3e2fdcab3;hp=70252a7fcfc46d42163a22043b15fe05fb5a50ac;hpb=b9d3e26af8fa9e6b6bca20a5769fe0abbecce3c1;p=plcapi.git diff --git a/debugger/controller.php b/debugger/controller.php index 70252a7..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(getcwd().'/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/'; +// relative path to the visual xmlrpc editing dialog +$editorpath = '../../phpjsrpc/debugger/'; +$editorlibs = '../../phpjsrpc/lib/'; ?>
-