aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-04-11 20:22:33 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-04-11 20:22:33 +0200
commit1c14a6bfb93c914374a6b2f96aec971f8c5b3053 (patch)
treefbc8ed02a6ad900b96dfe5259edba0bcdd0a9a66 /data
parentbf139cf4f0d6fb868d0f998d3213f7e681fbff92 (diff)
downloadphorkie-1c14a6bfb93c914374a6b2f96aec971f8c5b3053.tar.gz
phorkie-1c14a6bfb93c914374a6b2f96aec971f8c5b3053.zip
separate git and work directories - gives nicer public git clone urls
Diffstat (limited to 'data')
-rw-r--r--data/config.default.php7
-rw-r--r--data/config.php.dist3
2 files changed, 6 insertions, 4 deletions
diff --git a/data/config.default.php b/data/config.default.php
index 7c9969e..cec3799 100644
--- a/data/config.default.php
+++ b/data/config.default.php
@@ -1,8 +1,9 @@
<?php
$GLOBALS['phorkie']['cfg'] = array(
- 'repos' => __DIR__ . '/../repos/',
- 'tpl' => __DIR__ . '/templates/',
- 'css' => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css',
+ 'gitdir' => __DIR__ . '/../repos/git/',
+ 'workdir' => __DIR__ . '/../repos/work/',
+ 'tpl' => __DIR__ . '/templates/',
+ 'css' => 'http://twitter.github.com/bootstrap/assets/css/bootstrap.css',
);
/**
* Array of supported file types / languages.
diff --git a/data/config.php.dist b/data/config.php.dist
index 8ef80e9..0d60a10 100644
--- a/data/config.php.dist
+++ b/data/config.php.dist
@@ -1,5 +1,6 @@
<?php
-//$GLOBALS['phorkie']['cfg']['repos'] = '/var/cache/git/paste/';
+//$GLOBALS['phorkie']['cfg']['gitdir'] = '/var/cache/git/paste/git/';
+//$GLOBALS['phorkie']['cfg']['workdir'] = '/var/cache/git/paste/work/';
//$GLOBALS['phorkie']['cfg']['git']['public'] = 'git://bogo/git/paste/';
//$GLOBALS['phorkie']['cfg']['git']['private'] = 'ssh://git@bogo:paste/';
?>