diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2012-04-11 20:22:33 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-04-11 20:22:33 +0200 |
| commit | 1c14a6bfb93c914374a6b2f96aec971f8c5b3053 (patch) | |
| tree | fbc8ed02a6ad900b96dfe5259edba0bcdd0a9a66 /data | |
| parent | bf139cf4f0d6fb868d0f998d3213f7e681fbff92 (diff) | |
| download | phorkie-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.php | 7 | ||||
| -rw-r--r-- | data/config.php.dist | 3 |
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/'; ?> |
