Warn people about changing config.default.php
[phorkie.git] / data / config.default.php
index 5b56fc7e16d87de96bdd0c60102c4276c03cc30f..4c3784950e1ff2957007563ed65be3a736144f0c 100644 (file)
@@ -1,4 +1,9 @@
 <?php
 <?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__ . '/../';
 $pharFile = \Phar::running();
 if ($pharFile == '') {
     $phorkieDir = __DIR__ . '/../';
@@ -15,6 +20,7 @@ $GLOBALS['phorkie']['cfg'] = array(
         'public'    => '%BASEURL%' . 'repos/git/',
         'private'   => null,
     ),
         'public'    => '%BASEURL%' . 'repos/git/',
         'private'   => null,
     ),
+    'cachedir'      => $phorkieDir . 'cache/',
     'gitdir'        => $wwwDir . 'repos/git/',
     'workdir'       => $wwwDir . 'repos/work/',
     'tpl'           => __DIR__ . '/templates/',
     'gitdir'        => $wwwDir . 'repos/git/',
     'workdir'       => $wwwDir . 'repos/work/',
     'tpl'           => __DIR__ . '/templates/',
@@ -56,6 +62,12 @@ $GLOBALS['phorkie']['tools'] = array(
  * Key is the file extension
  */
 $GLOBALS['phorkie']['languages'] = array(
  * Key is the file extension
  */
 $GLOBALS['phorkie']['languages'] = array(
+    'conf' => array(
+        'title' => 'Configuration',
+        'mime'  => 'text/ini',
+        'geshi' => 'ini',
+        'show'  => false
+    ),
     'css' => array(
         'title' => 'CSS',
         'mime'  => 'text/css',
     'css' => array(
         'title' => 'CSS',
         'mime'  => 'text/css',