X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debugger%2Fcontroller.php;h=2fd43070fe6a7e4695e9e9f73aa76f62f24a2d75;hb=cc67a43993662a5a3f92801b96b89ee6e3998532;hp=e903be4417006ce99592a94db2743826ba424937;hpb=703405e3618c751b3e9e69321e878ea9573449a4;p=plcapi.git diff --git a/debugger/controller.php b/debugger/controller.php index e903be44..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(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/debugger/'; - $editorlibs = '../../javascript/lib/'; +// relative path to the visual xmlrpc editing dialog +$editorpath = '../../phpjsrpc/debugger/'; +$editorlibs = '../../phpjsrpc/lib/'; ?>
-