webhook support
[phorkie.git] / data / config.default.php
index 7e6ebb94582e9e6caf9558c8860879bb04ba8202..070070ddd0e972a49c70f4207e11ca0df598d82e 100644 (file)
@@ -14,6 +14,10 @@ $GLOBALS['phorkie']['cfg'] = array(
     'geshi'         => 'MediaWiki/geshi/geshi/geshi.php',
     'index'         => 'new',//"new" or "list"
     'perPage'       => 10,
+    'webhooks'      => array(
+        /* array of urls that get called when
+           a paste is created, edited or deleted */
+    )
 );
 $GLOBALS['phorkie']['auth'] = array(
     // 0 = public, no authentication, 1 = protect adds/edits/deletes,
@@ -131,6 +135,11 @@ $GLOBALS['phorkie']['languages'] = array(
         'mime'  => 'text/x-typoscript',/* TODO: correct type */
         'geshi' => 'typoscript'
     ),
+    'wsdl' => array(
+        'title' => 'WSDL',
+        'mime'  => 'application/wsdl+xml',
+        'geshi' => 'xml'
+    ),
     'xml' => array(
         'title' => 'XML',
         'mime'  => 'text/xml',