git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
warn about non-configured search adapter during indexing
[phorkie.git]
/
data
/
config.default.php
diff --git
a/data/config.default.php
b/data/config.default.php
index 22bbc4a7eba573d52b94a794ac6011210a9c2fca..5b56fc7e16d87de96bdd0c60102c4276c03cc30f 100644
(file)
--- a/
data/config.default.php
+++ b/
data/config.default.php
@@
-2,15
+2,21
@@
$pharFile = \Phar::running();
if ($pharFile == '') {
$phorkieDir = __DIR__ . '/../';
$pharFile = \Phar::running();
if ($pharFile == '') {
$phorkieDir = __DIR__ . '/../';
+ $wwwDir = $phorkieDir . 'www/';
} else {
//remove phar:// from the path
$phorkieDir = dirname(substr($pharFile, 7)) . '/';
} else {
//remove phar:// from the path
$phorkieDir = dirname(substr($pharFile, 7)) . '/';
+ $wwwDir = $phorkieDir;
}
$GLOBALS['phorkie']['cfg'] = array(
'debug' => false,
}
$GLOBALS['phorkie']['cfg'] = array(
'debug' => false,
- 'gitdir' => $phorkieDir . 'repos/git/',
- 'workdir' => $phorkieDir . 'repos/work/',
+ 'git' => array(
+ 'public' => '%BASEURL%' . 'repos/git/',
+ 'private' => null,
+ ),
+ 'gitdir' => $wwwDir . 'repos/git/',
+ 'workdir' => $wwwDir . 'repos/work/',
'tpl' => __DIR__ . '/templates/',
'baseurl' => null,
'avatars' => true,
'tpl' => __DIR__ . '/templates/',
'baseurl' => null,
'avatars' => true,
@@
-20,7
+26,6
@@
$GLOBALS['phorkie']['cfg'] = array(
'topbar' => '',
'setupcheck' => true,
'elasticsearch' => null,
'topbar' => '',
'setupcheck' => true,
'elasticsearch' => null,
- 'geshi' => 'MediaWiki/geshi/geshi/geshi.php',
'index' => 'new',//"new" or "list"
'perPage' => 10,
'defaultListPage' => 'last',//a number or "last"
'index' => 'new',//"new" or "list"
'perPage' => 10,
'defaultListPage' => 'last',//a number or "last"