git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65cb4c8
)
use custom config file when it exists
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 27 Mar 2012 16:00:32 +0000
(18:00 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 27 Mar 2012 16:00:32 +0000
(18:00 +0200)
www/www-header.php
patch
|
blob
|
history
diff --git
a/www/www-header.php
b/www/www-header.php
index 520d793520627c73ae116f882e0a6fdf299014dc..5b2fa565be7013ef339583b0f7dd2568980f3154 100644
(file)
--- a/
www/www-header.php
+++ b/
www/www-header.php
@@
-27,6
+27,9
@@
set_exception_handler(
);
require_once __DIR__ . '/../data/config.default.php';
+if (file_exists(__DIR__ . '/../data/config.php')) {
+ require_once __DIR__ . '/../data/config.php';
+}
require_once 'VersionControl/Git.php';
require_once 'Twig/Autoloader.php';
\Twig_Autoloader::register();