Fix bug #44: fix anchors of files with spaces in their name
[phorkie.git] / data / config.default.php
index b4c7d551cf1344956e3382f61a16913e2a0435c4..85713cd450418ba83ebbde61ed7f88e928a198f1 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,
@@ -142,4 +146,7 @@ $GLOBALS['phorkie']['languages'] = array(
         'geshi' => 'xml'
     ),
 );
+
+//needed for UTF-8 characters in file names
+setlocale(LC_CTYPE, 'en_US.UTF_8');
 ?>