Make GeSHi autoloading really work
[phorkie.git] / data / config.default.php
index c062d025ac9efcf4502d501762a8386dd4b738d4..6e4c20c58219f9772535460d498d7c2610ac1581 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * phorkie's default configuration.
+ *
+ * DO NOT EDIT THIS FILE but write your changes into data/config.php
+ */
 $pharFile = \Phar::running();
 if ($pharFile == '') {
     $phorkieDir = __DIR__ . '/../';
@@ -15,7 +20,7 @@ $GLOBALS['phorkie']['cfg'] = array(
         'public'    => '%BASEURL%' . 'repos/git/',
         'private'   => null,
     ),
-    'cachedir'      => __DIR__ . '/cache/',
+    'cachedir'      => $phorkieDir . 'cache/',
     'gitdir'        => $wwwDir . 'repos/git/',
     'workdir'       => $wwwDir . 'repos/work/',
     'tpl'           => __DIR__ . '/templates/',
@@ -38,6 +43,7 @@ $GLOBALS['phorkie']['cfg'] = array(
                a paste is created, edited or deleted */
         )
     ),
+    'geshi'         => 'geshi.php',
 );
 $GLOBALS['phorkie']['auth'] = array(
     // 0 = public, no authentication, 1 = protect adds/edits/deletes,