diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2015-07-08 21:44:08 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2015-07-08 21:44:08 +0200 |
| commit | 51ea5529a3de85fb17518898892498e1337a88b7 (patch) | |
| tree | d35bcde652c1196f95d2612825bffc7ce7abcc28 /data | |
| parent | f62487185d35c1ebf4135b98b678105474f8eb00 (diff) | |
| download | phorkie-51ea5529a3de85fb17518898892498e1337a88b7.tar.gz phorkie-51ea5529a3de85fb17518898892498e1337a88b7.zip | |
add cachedir setting to dist and default config file
Diffstat (limited to 'data')
| -rw-r--r-- | data/config.default.php | 2 | ||||
| -rw-r--r-- | data/config.php.dist | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/data/config.default.php b/data/config.default.php index c062d02..253650d 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -15,7 +15,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/', diff --git a/data/config.php.dist b/data/config.php.dist index 81ffdbe..f1b8704 100644 --- a/data/config.php.dist +++ b/data/config.php.dist @@ -2,6 +2,7 @@ //$GLOBALS['phorkie']['cfg']['baseurl'] = '/'; //$GLOBALS['phorkie']['cfg']['gitdir'] = '/var/cache/git/paste/git/'; //$GLOBALS['phorkie']['cfg']['workdir'] = '/var/cache/git/paste/work/'; +//$GLOBALS['phorkie']['cfg']['cachedir'] = '/var/cache/phorkie/'; //$GLOBALS['phorkie']['cfg']['git']['public'] = 'git://bogo/git/paste/'; //$GLOBALS['phorkie']['cfg']['git']['private'] = 'ssh://git@bogo:paste/'; //$GLOBALS['phorkie']['cfg']['elasticsearch'] = 'http://localhost:9200/phorkie/'; |
