git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use custom config file when it exists
[phorkie.git]
/
www
/
www-header.php
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';
);
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();
require_once 'VersionControl/Git.php';
require_once 'Twig/Autoloader.php';
\Twig_Autoloader::register();